Arm interview question

sorting A* Graph theory BFS/DFS