Amazon Interview Question

The second question was based on dictionary and string.

Interview Answer

Anonymous

May 19, 2019

I was able to solve this entirely in an unoptimized way, which I got to know at the last moment. Maybe an optimized way would have got me a 100% score.