Java Project about returning number of unique characters

Ukończone Opublikowano Feb 11, 2014 Płatność przy odbiorze
Ukończone 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.

Java

Numer ID Projektu: #5421109

O projekcie

52 ofert Zdalny projekt Aktywny Feb 14, 2014

Przyznany użytkownikowi:

alquarizm

Hi, This is simple project and it will take only 3-4 hrs to finish this work. I will Implement both the functions. I have implemented more than 1000 code in Java, C++. you can go through these link for reference :- Więcej

$25 USD w 1 dzień
(16 ocen)
4.2

52 freelancerów złożyło ofertę za $21 w tym projekcie

it2051229

Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com an Więcej

$20 USD w ciągu 0 dni
(1070 Oceny)
7.6
dobreiiita

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

$25 USD w ciągu 1 dnia
(402 Oceny)
7.4
eperfections

10+ years Java experience. 600+ projects completed successfully. I am very interested in this project. Ready to start ASAP.

$30 USD w ciągu 1 dnia
(441 Oceny)
7.4
krylenkom

A proposal has not yet been provided

$30 USD w ciągu 3 dni
(111 Oceny)
6.4
asadrana91

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 :)

$20 USD w ciągu 1 dnia
(90 Oceny)
6.5
gkan1234

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

$15 USD w ciągu 0 dni
(144 Oceny)
5.7
expertatwork

hey sheriahmad, why did you revoke earlier ? please reply, we can do this !

$16 USD w ciągu 1 dnia
(95 Oceny)
5.5
dipakjadhav08

Hello Sir, I have 4+ yeares of experience in java. i can solve the problem. Could you please send me your decision?

$25 USD w ciągu 0 dni
(84 Oceny)
5.4
cimemi

Hi, I am a software engineer experienced in java. I can deliver the final code to you within the day.

$20 USD w ciągu 1 dnia
(27 Oceny)
4.9
zabolotniipavel

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

$15 USD w ciągu 1 dnia
(56 Oceny)
5.1
pivn

hi sir, I can do your assignment, https://www.freelancer.com/u/pivn.html https://www.freelancer.com/u/pivn.html

$30 USD w ciągu 1 dnia
(14 Oceny)
4.7
shehzadwork

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

$45 USD w ciągu 2 dni
(20 Oceny)
4.4
shahidul2k9

Hello, I am Computer Science & Engineering student.I have a great experience in java & algorithm. I would like to implement your problem. Shahidul Freelancer

$20 USD w ciągu 1 dnia
(9 Oceny)
4.6
stachyra

Hi, again. I can create this class for you. I have experiance with JAVA. Please contact by provate msg.

$25 USD w ciągu 3 dni
(10 Oceny)
4.1
tapsitiwari

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

$15 USD w ciągu 1 dnia
(12 Oceny)
3.5
topcoder9793

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

$10 USD w ciągu 1 dnia
(6 Oceny)
3.3
sbkumar91

Hi sheriahmad, I am an Oracle Certified Professional, Java SE 6 Programmer. I can develop a java program to complete your requirements and extra credit functionality in few hours. I promise you a high quality code. Więcej

$20 USD w ciągu 1 dnia
(6 Oceny)
2.8
rightfreelancer7

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

$19 USD w ciągu 2 dni
(10 Oceny)
2.8
giannitee

This projects brings hope that together we will be more able to solve important tasks related with Strings and search optimization in the future. I would like to solve this! I continuously program as a hobbyist open so Więcej

$25 USD w ciągu 7 dni
(3 Oceny)
2.9
it4works

Hi, I've seen your original project, but was unable to respond (project deleted). I can create required class with both methods. Class will be using cache to provide performance, collections will be used. I can d Więcej

$15 USD w ciągu 1 dnia
(1 Ocena)
1.4