摘要: 题目: Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the 阅读全文
posted @ 2019-04-22 23:43 silentteller 阅读(293) 评论(0) 推荐(0)
摘要: 题目: You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be 阅读全文
posted @ 2019-04-22 00:05 silentteller 阅读(219) 评论(0) 推荐(0)