subject

Background The marketing team at CodeSignal would like to know how many users there are in each Coding Score range for standardized tests like the General Coding Assessment, so that they can share that information on our website. They've asked you to create a report containing that information.
Your Mission
As input, you are given a list of scores. Coding Score can be anywhere between 300 and 850. For the purpose of this task, levels are defined in the following way:
Poor: 300-599 Fair: 600-699 Good: 700-749 Excellent: 750-799 Elite: 800 Calculate how many users are there in each level, then return a list of strings where each string represents a level and the percentage of users who fall within that range formatted like LevelName: XX. XXX Percentages should be displayed with two decimal points of precision. Levels should be sorted in decreasing order of those numbers, omitting any levels that have no users. In case of a tie the higher level should appear first For example, if you had this input... [330, 723, 750, 825] For example, if you had this input... [330, 723, 730, 825] ...then you should return the following: [ Good: 50.00%', Elite: 25.00%', Poor: 25.00% ] [execution time limit] 4 seconds (py3) ā€¢ [input] array. integer scores An array of integers in the range [300, 850] [output] array. string An array of strings formatted like LevelName: XX. XX%

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
Selective incapacitation is a strategy to reduce prison population
Answers: 3
question
Computers and Technology, 22.06.2019 09:40
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
How are stop motion special effects in animated films created
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
You know the right answer?
Background The marketing team at CodeSignal would like to know how many users there are in each Co...
Questions
question
Mathematics, 05.05.2020 11:04
question
Geography, 05.05.2020 11:04
question
English, 05.05.2020 11:04
Questions on the website: 13722363