Intel 上门

一轮:

  1. given a list of integers, return themaximum length of alternating odd & even numbers

  2. given a binary tree, traverse the tree.[very easy, 1 recursion]

二轮:

  1. trapped rain water

  2. 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]

  3. linked list, delete a value

  4. given a list of tasks and itsdependencies, find the order to execute all the tasks

  5. design an AI for playing the WordScrumble game