摘要: 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 rep 阅读全文
posted @ 2020-10-21 04:47 CNoodle 阅读(162) 评论(0) 推荐(0)
摘要: You need to construct a binary tree from a string consisting of parenthesis and integers. The whole input represents a binary tree. It contains an int 阅读全文
posted @ 2020-10-21 02:14 CNoodle 阅读(365) 评论(0) 推荐(0)
摘要: Your friend is typing his name into a keyboard. Sometimes, when typing a character c, the key might get long pressed, and the character will be typed 阅读全文
posted @ 2020-10-21 00:30 CNoodle 阅读(160) 评论(0) 推荐(0)