1.Find number of times a string appears in a string? 2.Easy Data structures question.
Anonymous
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++
Check out your Company Bowl for anonymous work chats.