Java Project about returning number of unique characters

Fertiggestellt Veröffentlicht Feb 11, 2014 Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

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

Projekt-ID: #5421109

Über das Projekt

52 Vorschläge Remote Projekt Aktiv Feb 14, 2014

Vergeben an:

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

$25 USD in 1 Tag
(16 Bewertungen)
4.2

52 Freelancer bieten im Durchschnitt $21 für diesen Job

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 Mehr

$20 USD in 0 Tagen
(1070 Bewertungen)
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 Mehr

$25 USD in 1 Tag
(402 Bewertungen)
7.4
eperfections

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

$30 USD in 1 Tag
(441 Bewertungen)
7.4
krylenkom

A proposal has not yet been provided

$30 USD in 3 Tagen
(111 Bewertungen)
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 in 1 Tag
(90 Bewertungen)
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 in 0 Tagen
(144 Bewertungen)
5.7
expertatwork

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

$16 USD in 1 Tag
(95 Bewertungen)
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 in 0 Tagen
(84 Bewertungen)
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 in 1 Tag
(27 Bewertungen)
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 Mehr

$15 USD in 1 Tag
(56 Bewertungen)
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 in 1 Tag
(14 Bewertungen)
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 Mehr

$45 USD in 2 Tagen
(20 Bewertungen)
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 in 1 Tag
(9 Bewertungen)
4.6
stachyra

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

$25 USD in 3 Tagen
(10 Bewertungen)
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 in 1 Tag
(12 Bewertungen)
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 in 1 Tag
(6 Bewertungen)
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. Mehr

$20 USD in 1 Tag
(6 Bewertungen)
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 Mehr

$19 USD in 2 Tagen
(10 Bewertungen)
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 Mehr

$25 USD in 7 Tagen
(3 Bewertungen)
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 Mehr

$15 USD in 1 Tag
(1 Bewertung)
1.4