摘要:
Given an array with n distinct elements, convert the given array to a form where all elements are in range from 0 to n-1. The order of elements is sam 阅读全文
摘要:
Given a sorted array, this array is rotated by some unknown times. Find if there is a pair in this array that sums to a given value. Solution 1. O(n * 阅读全文