7 kyu
String Merge!
2,686 of 6,701cannse
Description:
Given two words and a letter, return a single word that's a combination of both words, merged at the point where the given letter first appears in each word. The returned word should have the beginning of the first word and the ending of the second, with the dividing letter in the middle. You can assume both words will contain the dividing letter.
Examples
("hello", "world", "l") ==> "held"
("coding", "anywhere", "n") ==> "codinywhere"
("jason", "samson", "s") ==> "jasamson"
("wonderful", "people", "e") ==> "wondeople"
Strings
Fundamentals
Similar Kata:
Stats:
Created | Jul 28, 2017 |
Published | Jul 28, 2017 |
Warriors Trained | 8728 |
Total Skips | 138 |
Total Code Submissions | 13994 |
Total Times Completed | 6701 |
Python Completions | 2686 |
JavaScript Completions | 2669 |
Java Completions | 1058 |
PHP Completions | 266 |
Ruby Completions | 103 |
C Completions | 103 |
Total Stars | 58 |
% of votes with a positive feedback rating | 94% of 1173 |
Total "Very Satisfied" Votes | 1046 |
Total "Somewhat Satisfied" Votes | 110 |
Total "Not Satisfied" Votes | 17 |
Total Rank Assessments | 41 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |