6 kyu
Simple repeated words
157 of 351KenKamau
Description:
In this Kata, you will count the number of times the first string occurs in the second.
solve("zaz","zazapulz") = 4 because they are ZAZapulz, ZAzapulZ, ZazApulZ, zaZApulZ
More examples in test cases.
Good luck!
Please also try Simple time difference
Algorithms
Similar Kata:
Stats:
Created | Feb 26, 2018 |
Published | Feb 26, 2018 |
Warriors Trained | 1416 |
Total Skips | 44 |
Total Code Submissions | 3572 |
Total Times Completed | 351 |
JavaScript Completions | 185 |
Python Completions | 157 |
Haskell Completions | 26 |
Total Stars | 35 |
% of votes with a positive feedback rating | 89% of 88 |
Total "Very Satisfied" Votes | 71 |
Total "Somewhat Satisfied" Votes | 15 |
Total "Not Satisfied" Votes | 2 |
Total Rank Assessments | 3 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |