Entries from 2016-07-05 to 1 day
https://www.hackerrank.com/challenges/bear-and-steady-gene I knew it can be solved with crawling, but writing binary search was easier, and worked fine as well. Try removing ( int ) before s.size() in the function ok(), and call ok() with …