0
|
My Logic is messed up. I am just trying to work out a pay to remove duplicates in an arrayList without using a HashSet.
}
| ||
| show 2 more comments |
2
|
This methodology requires having another list:
Output:
| ||||||||||||||||||||
|
Compilation of already published Articles/Ideas/Problems-Solutions which I faced or came across over the period of time. Largely a place for me to document it as note-to-self. Nothing serious. :)
My Logic is messed up. I am just trying to work out a pay to remove duplicates in an arrayList without using a HashSet.
}
| |||
| show 2 more comments |
This methodology requires having another list:
Output:
| |||||||||||||||||||||
|
HashSetprohibited by the teacher? :) – halex Oct 2 '12 at 19:48for (int dupWord : wordDulicate) {compiling? – gtgaxiola Oct 2 '12 at 19:48dupWordshould be aStringnot anint– doublesharp Oct 2 '12 at 19:49