Tag Archives: HackerRank in a String! Solution

HackerRank : RookieRank 2 – HackerRank in a String!

HackerRank in a String! Source : Hackerrank We say that a string, , contains the word hackerrank if a subsequence of the characters in spell the word hackerrank. For example, haacckkerrannkk does contain hackerrank, but haacckkerannk does not (the characters all appear in the same order, but it’s missing a second r). More formally, let be the respective… Read More »