LinkedIn interview question

- Find the max depth of a binary tree. - Find an element in a rotated sorted array.