摘要: On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear rep 阅读全文
posted @ 2020-05-09 19:59 SteveYu 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Given a set of N (>) positive integers, you are supposed to partition them into two disjoint sets A​1​​ and A​2​​ of n​1​​ and n​2​​ numbers, respecti 阅读全文
posted @ 2020-05-09 15:51 SteveYu 阅读(183) 评论(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 @ 2020-05-09 15:35 SteveYu 阅读(219) 评论(0) 推荐(0) 编辑
摘要: A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes 阅读全文
posted @ 2020-05-09 12:32 SteveYu 阅读(179) 评论(0) 推荐(0) 编辑