Bloomberg Interview Question

1.Find number of times a string appears in a string? 2.Easy Data structures question.

Interview Answer

Anonymous

Nov 30, 2018

For first one KMP or hashing was not needed, just brute pass written correctly. For second one solution was to use vector of sets, for example STL C++