摘要: 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-04-25 18:50 Veritas_des_Liberty 阅读(241) 评论(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-04-25 17:50 Veritas_des_Liberty 阅读(202) 评论(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-04-25 17:27 Veritas_des_Liberty 阅读(373) 评论(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-04-25 15:45 Veritas_des_Liberty 阅读(148) 评论(0) 推荐(0) 编辑