Algorithm for Finding a Maximum Value
A program is needed to analyze a dataset and identify the maximum temperature recorded for each month. Which of the following algorithms is most appropriate for this task?
A
Linear search
B
Binary search
C
Inserting an item into a list
D
Determining the maximum number from a list
Question Leaderboard
| Rank | |||||
|---|---|---|---|---|---|
| #1 | jasonvikathompson | 2 | 3 | 0m 40s | 150 |
| #2 | soniahalepota2005 | 2 | 2 | 0m 58s | 142 |
| #3 | hxuna0217 | 2 | 3 | 0m 51s | 139 |
| #4 | hazimstudy112 | 1 | 1 | 0m 00s | 100 |
| #5 | tianbo.shen | 1 | 1 | 0m 30s | 70 |
| #6 | gtsak31 | 1 | 1 | 1m 01s | 39 |
| #7 | mahmoudjibrin08 | 0 | 1 | 0m 04s | -14 |
| #8 | afeldman0610 | 2 | 3 | 3m 43s | -33 |
| #9 | okellodesmond | 1 | 1 | 2m 23s | -43 |
| #10 | rpatton | 1 | 3 | 5m 05s | -225 |
Items per page:
10
1 – 10 of 11
APFIVE