Uber interview question

Arrays based Hashmaps Graphs Backtracking