Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我收到了一个关于在二叉树上找到 LCA 的方法的面试问题。我回应我的想法。毕竟面试官说可以用scala fold函数来完成......但我不知道怎么做,有什么想法吗?