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, 21.06.2019 20:20
Sometimes writers elaborate on the truth when recalling past events so they can enhance their narrative essay with more interesting descriptions. do you feel that published writers should or should not embellish real life events just to make their stories more interesting?
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Write a full class definition for a class named player , and containing the following members: a data member name of type string .a data member score of type int .a member function called setname that accepts a parameter and assigns it to name . the function returns no value.a member function called setscore that accepts a parameter and assigns it to score . the function returns no value.a member function called getname that accepts no parameters and returns the value of name .a member function called getscore that accepts no parameters and returns the value of score .this is what i have, aparently this is wrong: class player{private: string name; int score; public: void player: : setname (string n){name =n; }void player: : setscore (int s){score = s; }string player: : getname (){return name; }int player: : getscore (){return score; }};
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
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, 07.04.2021 07:10
question
Mathematics, 07.04.2021 07:10
question
Mathematics, 07.04.2021 07:10
question
Chemistry, 07.04.2021 07:10
question
Mathematics, 07.04.2021 07:20
question
Social Studies, 07.04.2021 07:20
question
Biology, 07.04.2021 07:20
Questions on the website: 13722362