String trick

1. String.find(x)!=String.end() will not work. Same work is done by:
                               c.find(b)!=string::npos
https://www.geeksforgeeks.org/string-find-in-cpp/

Comments

Popular posts from this blog

C++ STL practice problem link

Binary Index Tree(BIT)

Combinatorics