how to sort HashMap. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to sort HashMap.

Its final task of java course. I tried to solve it myself but const error appearing.

2nd Nov 2021, 11:13 AM
Солбон Болотов
Солбон Болотов - avatar
1 Answer
+ 4
Hint: you can convert keys of the hashmap to an array and iterate him.
2nd Nov 2021, 11:51 AM
JaScript
JaScript - avatar