Ad
  • Default User Avatar

    Replace seen := make(map[string]int, len(gloves)) to seen := make(map[string]int) in my solution, and you will get identical benchmark.

    If you think what I have done is considered "clever" I have bad news for you..