def findThreeLargestNumbers(array):
array.sort()
return [array[len(array)-3], array[len(array)-2], array[len(array)-1]]
'Algorithms and Data Structures > Coding Practices' 카테고리의 다른 글
AlgoExpert InsertionSort (0) | 2022.07.16 |
---|---|
AlgoExpert Bubble Sort (0) | 2022.07.16 |
AlgoExpert BinarySearch (0) | 2022.07.15 |
LeetCode 121. Best Time to Buy and Sell Stock (0) | 2022.07.15 |
Kattis What is greater? (0) | 2022.07.15 |