Groupon Interview Question

rotate an array, find unique pairs that sum up to X, BST insertion