One unclear thing in problem's text

  • 0

    I think it would be good to point that if we do set for key which already exists, its usages are updated (not reseted). At first time I've decided that re-assigning already existing key to other value should reset usages for this key. I've spent some time debugging to figure out what you want. =)

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.