naveentata / Sortings-in-different-Languages

This repository contains sortings in different languages
6 stars 41 forks source link

counting maximum occurence using hashmaps in java #48

Open ghost opened 6 years ago

ghost commented 6 years ago

It is counting the most frequent 2 character long substring which occurs the most number of times but without using any sorting algorithm but by using hashmaps and treemaps in java which reduces the time complexity.