Sorting and Searching Algorithm Questions
- Given two sorted array A and B. A is large enough to hold B. Merge the arrays in sorted order.
- Write a function which sort the array of string such that 2 anagram are together.
- A array is sorted in increasing order and rotated many times. Find a number N in given array.
- You have 10 GB of file with each line having 1 string.Sort the file.
- Given sorted array of string. The empty string is inserted between each string. Find a given string in array.
- Given a matrix MxN which is sorted by row and column in increasing order. Find given element .
No comments:
Post a Comment