6 kyu
Breaking search bad
1,197 of 2,239dpellier
Description:
The function must return the sequence of titles that match the string passed as an argument.
TITLES is a preloaded sequence of strings.
TITLES = ['Rocky 1', 'Rocky 2', 'My Little Poney']
search('ock') --> ['Rocky 1', 'Rocky 2']
But the function return some weird result and skip some of the matching results.
Does the function have special movie taste?
Let's figure out !
Regular Expressions
Debugging
Similar Kata:
Stats:
Created | Jan 8, 2014 |
Published | Jan 8, 2014 |
Warriors Trained | 3748 |
Total Skips | 108 |
Total Code Submissions | 6219 |
Total Times Completed | 2239 |
JavaScript Completions | 1197 |
Python Completions | 1056 |
Total Stars | 32 |
% of votes with a positive feedback rating | 86% of 412 |
Total "Very Satisfied" Votes | 317 |
Total "Somewhat Satisfied" Votes | 76 |
Total "Not Satisfied" Votes | 19 |
Total Rank Assessments | 14 |
Average Assessed Rank | 5 kyu |
Highest Assessed Rank | 4 kyu |
Lowest Assessed Rank | 7 kyu |