Algorithm for Finding a Maximum Value
As a data analyst, you are analyzing a dataset to find the maximum temperature recorded each month. You decide to write a program to automate this task. Which of the following algorithms would you most likely use?
A
Linear search
B
Determining the maximum number from a list
C
Inserting an item into a list
D
Binary search
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