We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
HackerRank in a String!
HackerRank in a String!
Sort by
recency
|
1059 Discussions
|
Please Login in order to post a comment
char* hackerrankInString(char* s) { char *hackerrank="hackerrank"; int index=0; for(int i=0;i
Regex is so nice
Python 3
C# (of course I wouldn't do something like that in real life :D)
My easy c++ solution, here is the explanation : https://youtu.be/N3lhtXtqIoU
Javascript: