Cha 11. Sorting and Searching
Summary
Problems
11.1 merge B into A in sorted order
11.2 sort string array so anagrams next to each other
11.3 find number of rotations of a sorted array
11.4 sort 20GB file with one string per line
11.5 search a string in sorted string array interspersed with ""
11.6 search an element in MxN each row/column sorted asc
11.7 sort array of pairs with both asc
11.8 find rank of x (num of vals <=x) in an int stream
时间: 2024-11-02 01:41:18