一轮:
-
given a list of integers, return themaximum length of alternating odd & even numbers
-
given a binary tree, traverse the tree.[very easy, 1 recursion]
二轮:
-
trapped rain water
-
given a matrix of 0, 1, and 2s. 2 is thedestination, 1 can be visited, 0 cannot be visited. Also given a start point,return true if can reach the destination. [BFS]
-
linked list, delete a value
-
given a list of tasks and itsdependencies, find the order to execute all the tasks
-
design an AI for playing the WordScrumble game