Java Project about returning number of unique characters
$10-30 USD
Płatność przy odbiorze
Test code, [login to view URL], and data files, [login to view URL] and [login to view URL], are provided for this assignment. The data files have had all the line feeds removed so the entire novel can be read as a single string.
Write a class, [login to view URL], that has a method, getNumUniqueChars that takes a String as a parameter and returns the number of unique characters in that string. That is the number of letters that occur only once in the string. It is expected that any particular string may be passed several times to the method. Since the counting operation can be time consuming, the class should save the results, so that when the method is given a string previously encountered, it will simply retrieve the stored result. Use collections and maps where appropriate.
Examples:
The string "abcdefghijklmnopqrstuvwxyz" has 26 unique letters.
The string "Hello Goodbye" has 5 unique letters.
The string "We promptly judged antique ivory buckles for the next prize" has 15 unique letters,W m j g a q v b c k s f h x z.
Extra Credit: Write a method, getNumCharsNotUnique, that does the opposite thing as getNumUniqueChars. That is, it returns the number of characters that occur more than once. The same performance criteria as above apply.
Examples:
The string "abcdefghijklmnopqrstuvwxyz" has 0 non-unique letters.
The string "Hello Goodbye" has 3 non-unique letters.
The string "We promptly judged antique ivory buckles for the next uniqueletters,e p r o t l y u d g n i.
Numer ID Projektu: #5421109
O projekcie
52 freelancerów złożyło ofertę za $21 w tym projekcie
Hi, I am Java expert and have a lot of experience in helping students with their assignments. I checked you requirements and I am confident to handle this project perfectly. Please communicate to discuss further. Thank Więcej
10+ years Java experience. 600+ projects completed successfully. I am very interested in this project. Ready to start ASAP.
Hi sheri ahmad, this is Asad, i have a lot of experience in java programming ,would surely do this for you,just pm me,wont disappoint you ,cheers :)
Hi I have 4+ years experience in Java. I have completed more than 60 projects so far. Please send me a message so that we can discuss once. Thanks
Hello Sir, I have 4+ yeares of experience in java. i can solve the problem. Could you please send me your decision?
Hi, I am a software engineer experienced in java. I can deliver the final code to you within the day.
Hello. I have a great experience in working with students assignments in c/c++ and java. I have 100% completing rate and all of the my employees are satisfied with the quality and speed of my work. See my profile to be Więcej
hi sir, I can do your assignment, https://www.freelancer.com/u/pivn.html https://www.freelancer.com/u/pivn.html
I have the required skills and expertise. I understand your given requirements and can do work on your this project. Consider me for your this project. I have designed and developed many applications in Java. I w Więcej
Hello, I am Computer Science & Engineering student.I have a great experience in java & algorithm. I would like to implement your problem. Shahidul Freelancer
Hi, again. I can create this class for you. I have experiance with JAVA. Please contact by provate msg.
Hi, I can do this project in 2-3 hours for you. Please check my reviews, I have done many projects till now. Please message me so that I can start the work. regards Tapsi
Hi I am a Java expert and I can do this work for you in a hour or so. Please let me know if you are interested. I can start it right now. Thanks
I am a professional software engineer with 9+ years of experience. I am very talented programmer with the following skills c, c++ , java , UNIX, Linux,SSH, PHP, Jsp , Js , advanced js like jquery, extjs etc. My skill Więcej