Your task
Given a list of languages and your respective test results, return the list of languages where your test score is at least 60, in descending order of the results.
Note: There will be no duplicate values.
Examples
{"Java" => 10, "Ruby" => 80, "Python" => 65} --> ["Ruby", "Python"]
{"Hindi" => 60, "Dutch" => 93, "Greek" => 71} --> ["Dutch", "Greek", "Hindi"]
{"C++" => 50, "ASM" => 10, "Haskell" => 20} --> []
'매일매일개발 > Codewars' 카테고리의 다른 글
codewars #60 Two Sum (6kyu) (0) | 2018.06.14 |
---|---|
codewars #59 How long is the cable? (6kyu) (0) | 2018.06.12 |
codewars #57 Frequency Analysis With Buckets (6kyu) (0) | 2018.06.07 |
codewars #56 Maximum subarray sum (5kyu) (0) | 2018.06.05 |
codewars #55 Sum of Two Integers (6kyu) (0) | 2018.06.04 |