Citi Interview Question

Take an array of strings as input, how can you find the top 5 most common string? write a code/pseudo code for a function that does this.

Interview Answer

Anonymous

Sep 3, 2018

Used Hash map. also talked a little about the complexity.

1