7 kyu
String Reordering
917 of 7,841user3010812
Description:
The input will be an array of dictionaries.
Return the values as a string-seperated sentence in the order of their keys' integer equivalent (increasing order).
The keys are not reoccurring and their range is -999 < key < 999
.
The dictionaries' keys & values will always be strings and will always not be empty.
Example
Input:
List = [
{'4': 'dog' }, {'2': 'took'}, {'3': 'his'},
{'-2': 'Vatsan'}, {'5': 'for'}, {'6': 'a'}, {'12': 'spin'}
]
Output:
'Vatsan took his dog for a spin'
Fundamentals
Strings
Lists
Similar Kata:
Stats:
Created | May 22, 2018 |
Published | May 22, 2018 |
Warriors Trained | 10197 |
Total Skips | 72 |
Total Code Submissions | 17294 |
Total Times Completed | 7841 |
Python Completions | 917 |
JavaScript Completions | 6961 |
Total Stars | 68 |
% of votes with a positive feedback rating | 90% of 624 |
Total "Very Satisfied" Votes | 522 |
Total "Somewhat Satisfied" Votes | 82 |
Total "Not Satisfied" Votes | 20 |
Total Rank Assessments | 8 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |