Tag: HashMap
-
How to check a string can be eligible to form a palindrome
This is the second solution to check whether a string can be formed as a palindrome. This approach uses the eliminating the repeated characters from the input string using the Hash map collection.
-
How to check a string can be eligible to form a palindrome
This is the first solution to check whether a string can be formed as a palindrome. This approach uses the core logic to check the criteria for the palindrome.
-
How to find length of all integers while giving as input one by one
This is the first solution to find the length of all the integers given during input. This program uses the HashMap collection to store the integer values and it’s respective length as key value pairs.
