Portfolio/JS Playground
0
0 XP
Playground

HashMap & Set

10 HashMap & Set problems. Hints are optional — pass tests and submit to unlock solutions.

0/10done
  • 1

    Two Sum

    hashmap · classic

    easy
  • 2

    Frequency Counter

    hashmap · counting

    easy
  • 3

    Count Duplicate Elements

    hashmap · set

    easy
  • 4

    Group By Property

    hashmap · grouping

    easy
  • 5

    Find Common Elements

    set · intersection

    easy
  • 6

    Isomorphic Strings

    hashmap · bijection

    easy
  • 7

    Happy Number

    set · math

    easy
  • 8

    Top K Frequent Elements

    hashmap · heap · bucket

    medium
  • 9

    Longest Consecutive Sequence

    set · union

    medium
  • 10

    Randomized Set

    hashmap · array · design

    medium