Can someone explain to me this notation for making a max heap using the frequencies from a hashmap?

前端 未结 0 1618
灰色年华
灰色年华 2020-12-04 17:37

// say S is some string; this counts the character frequencies in the string and puts it in a hashmap called map (I understand this part):

Map

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题