摘要: 题目: The following is from Max Howell @twitter: Google: 90% of our engineers use the software you wrote (Homebrew), but you can't invert a binary tree 阅读全文
posted @ 2023-05-20 11:46 Yohoc 阅读(25) 评论(0) 推荐(0)
摘要: 题目: An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with 阅读全文
posted @ 2023-05-20 11:01 Yohoc 阅读(20) 评论(0) 推荐(0)
摘要: 题目: A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to fi 阅读全文
posted @ 2023-05-20 09:34 Yohoc 阅读(21) 评论(0) 推荐(0)