3 ms·
I have never done any algorithm preparation in my life and was able to pass. They asked to figure out how many decks I could make out of cards given by sign + n
by Fire-Dragon-DoL 4y ago
I have never done any algorithm preparation in my life and was able to pass. They asked to figure out how many decks I could make out of cards given by sign + number.
Using a hash map made it very straightforward