Who is going to pay for the wall?
Description:
Don Drumphet lives in a nice neighborhood, but one of his neighbors has started to let his house go. Don Drumphet wants to build a wall between his house and his neighbor’s, and is trying to get the neighborhood association to pay for it. He begins to solicit his neighbors to petition to get the association to build the wall. Unfortunately for Don Drumphet, he cannot read very well, has a very limited attention span, and can only remember two letters from each of his neighbors’ names. As he collects signatures, he insists that his neighbors keep truncating their names until two letters remain, and he can finally read them.
Your code will show Full name of the neighbor and the truncated version of the name as an array. If the number of the characters in name is less than or equal to two, it will return an array containing only the name as is.
Similar Kata:
Stats:
Created | Mar 8, 2017 |
Published | Mar 15, 2017 |
Warriors Trained | 22781 |
Total Skips | 729 |
Total Code Submissions | 41137 |
Total Times Completed | 15683 |
Ruby Completions | 694 |
JavaScript Completions | 7640 |
Python Completions | 7360 |
Crystal Completions | 29 |
Haskell Completions | 277 |
Scala Completions | 20 |
Total Stars | 159 |
% of votes with a positive feedback rating | 89% of 2190 |
Total "Very Satisfied" Votes | 1795 |
Total "Somewhat Satisfied" Votes | 308 |
Total "Not Satisfied" Votes | 87 |
Total Rank Assessments | 74 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |