Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #37.0K
~7K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags
java x 5

4 Posted Topics

Member Avatar for scias23

Java Code provide by cgeier for leap year is really impressive. It is very short and yet effective. I totally agree with him.

Member Avatar for amitrail
0
117
Member Avatar for loozax

There is a much more simpler approach to the Palindrome problem. I would suggest using StringBuffer in place of String, it provides many effective methods like reverse(). This method automatically reverses the String we need to reverse and then compare. Check out SNIP for more info on this type of …

Member Avatar for amitrail
0
125
Member Avatar for Nitroxxerz

Just add the strings in a TreeSet. All the Strings will be automatically sorted alphabetically. You may check SNIP for more details on it. Though the code here is for numbers, it applies the same for Strings.

Member Avatar for amitrail
0
167
Member Avatar for fullgl

Use the following code, after you take the value in your array TreeSet ts = new TreeSet(); for(int i = 0; i < value.length; i++) { ts.add(value[i]); } the numbers will be automatically sorted. Pick the first and last number as the max and min numbers required. Check out SNIP …

Member Avatar for amitrail
0
105

The End.