Tag: entrySet
-
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 count whether any number in an array repeated twice or thrice
This is the first solution to count whether any of the number in an array repeated twice or thrice from the same array of integers using HashMap collection.
-
How to find the minimum and maximum length strings in a sentence of strings using HashMap
This is the second solution to find the maximum length and minimum length strings from a given input sentence of strings, using the HashMap methods.
