service/searching/findLargestInRotatedSortedArray/find_largest_in_rotated_sorted_array library

Functions

findLargestInRotatedSortedArray<T extends Comparable>(List<T> list) → T
Finds the largest element in a rotated sorted array. Assumes no duplicate elements. Throws ArgumentError if list is empty.
main() → void