Question: Important Guidelines: Your implementation must work correctly even when you don't know how many scores are coming in . The only data structure you are
Important Guidelines:
Your implementation must work correctly even when you don't know how many scores are coming in
The only data structure you are allowed to use is a simple array of size
The final leaderboard should be an array of size that contains the top scores and names from greatest to least scorewise
Note: Since we haven't covered sorting, you aren't really expected to write a sorting algorithm. However, you are also not allowed to import any sorting methods, which means you either need to implement your own not encouraged OR you need to figure out how to solve this without a sorting algorithm. By sorting algorithm, I mean an algorithm that takes a full unsorted array and sorts it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
