pony ai 面经

  1. Similar to num of islands, label each area with 1,2,3,…
  2. Remove parenthesis to make a string to be valid
  3. Lunch and ask about one demon of my project
  4. A matrix has person ‘*’, wall ‘#’, exit ‘e’, and empty ‘.’, get the time needed for all persons to exit the maze
  5. Serialize and deserialize binary tree
  6. Talk about reactjs and js, how to implement a table using javascript, the table contains 1000 rows and 20 cols, and want to change data format of all cells from percentage to absolute value , for example, -4% to -20