You are viewing a single comment's thread. Return to all comments →
def hackerrankInString(s): h='hackerrank1' j=0 for i in s: if i==h[j]: j+=1 if j==10: return 'YES' return 'NO'
Seems like cookies are disabled on this browser, please enable them to open this website
HackerRank in a String!
You are viewing a single comment's thread. Return to all comments →