摘要: 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 the 阅读全文
posted @ 2018-09-04 19:06 lypbendlf 阅读(150) 评论(0) 推荐(0) 编辑
摘要: For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre 阅读全文
posted @ 2018-09-04 14:45 lypbendlf 阅读(10048) 评论(0) 推荐(0) 编辑
摘要: This time, you are supposed to help us collect the data for family-owned property. Given each person's family members, and the estate(房产)info under hi 阅读全文
posted @ 2018-09-04 12:13 lypbendlf 阅读(179) 评论(0) 推荐(0) 编辑