Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
I've done it like this: using 2 hashMaps, one of them to "reset" the original ha...

Clodoaldo Favaro

Jul 19, 2022

I've done it like this: using 2 hashMaps, one of them to "reset" the original hashMap when we find a character that's not in the pattern. Image

1

0

Comments
Comments
D
Douglas 3 years ago

Nice, I thought about that, but it uses more space

On this page