What will be the most efficient approach to find the largest number in a list of 20 numbers?
Answers
Answered by
57
First find out the number which has the most digits.
Then find out which has the highest tens digit.
Then find out which has the highest units digit.
You will get it easily.
Answered by
45
Answer:
To find the largest number in a list of two numbers : There are two ways of finding the largest number
- Arrange all the numbers in the list in ascending order
All the numbers in the list are arranged in the ascending order such that the smallest number comes at the beginning and so on. Now, the number which occur at the last is the required largest number.
- Arrange all the numbers in the list in descending order
All the numbers in the list are arranged in the descending order such that the largest number comes at the beginning and so on. Now, the number which occur at the first position is the required largest number.
Similar questions