Timeline for Finding the longest word from a list of words
Current License: CC BY-SA 3.0
21 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 18, 2014 at 4:56 | vote | accept | Nirmalya | ||
Jun 16, 2014 at 22:16 | answer | added | Gangstead | timeline score: 2 | |
Jun 14, 2014 at 17:23 | comment | added | Nirmalya | @rolfl, I can't paste the real code from working projects, for obvious reasons. I don't know if that is expected either. I assure you that the code I have written here, reflects the exact logic that I am using in my project. My question has been about making the code better than what I have put in here. Thanks for your comment but I have been looking for tips to improve. | |
Jun 13, 2014 at 10:31 | history | edited | rolfl | CC BY-SA 3.0 |
added 2 characters in body
|
Jun 13, 2014 at 10:27 | comment | added | rolfl | Nirmalya - you have doubled the amount of code since I commented, and the new code actually includes logic to actually find the longest words. Your code was not compiling because you were missing parenthesis. This all indicates to me that this code is not code that runs for you, and is just something you typed in to the Code Review box without running it. I have done that now for you by making the working ideone. Code Review requires real code from working projects. | |
Jun 13, 2014 at 10:22 | history | reopened |
toto2 rolfl |
||
Jun 13, 2014 at 10:22 | history | edited | rolfl | CC BY-SA 3.0 |
Make the code actually work (add missing parenthesis)
|
Jun 13, 2014 at 6:16 | comment | added | Nirmalya | @rolfl - I have edited the post following your comments. I have mentioned explicitly what is the expected output for the given input set. Thanks for your comments. Can this question now be taken off the hold please? | |
Jun 13, 2014 at 6:14 | history | edited | Nirmalya | CC BY-SA 3.0 |
added 119 characters in body
|
Jun 13, 2014 at 6:08 | history | edited | Nirmalya | CC BY-SA 3.0 |
added 119 characters in body
|
Jun 12, 2014 at 4:46 | history | edited | Nirmalya | CC BY-SA 3.0 |
Thanks for pointing out the areas of incompleteness in the code. I have tried to correct them. I assumed things while writing the post, which I should not had.
|
Jun 11, 2014 at 21:49 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 13 characters in body; edited title
|
Jun 11, 2014 at 21:26 | comment | added | rolfl | This code is incomplete, and does not produce a result. It creates a map, but does not select the longest 'anything'. | |
Jun 11, 2014 at 20:47 | comment | added | Simon Forsberg |
What's xyz ? What's pqr ? etc. As it currently stands, this code is a bit invalid.
|
|
Jun 11, 2014 at 20:27 | review | Reopen votes | |||
Jun 11, 2014 at 21:26 | |||||
Jun 11, 2014 at 20:12 | comment | added | toto2 | I edited an "s" out: "along with their lengths" -> "along with their length". I am guessing you want the longest word(s) with its(their) length. | |
Jun 11, 2014 at 20:10 | history | edited | toto2 | CC BY-SA 3.0 |
lengths -> length, which does clarify the meaning of the question.
|
Jun 11, 2014 at 11:30 | history | closed | 200_success | Needs details or clarity | |
Jun 11, 2014 at 11:30 | comment | added | 200_success | Does your example word list consist of string literals? | |
Jun 11, 2014 at 11:21 | review | First posts | |||
Jun 11, 2014 at 11:31 | |||||
Jun 11, 2014 at 11:01 | history | asked | Nirmalya | CC BY-SA 3.0 |