摘要: Question Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brac 阅读全文
posted @ 2017-09-24 22:32 清水汪汪 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Question Given a binary tree, return all duplicate subtrees. For each kind of duplicate subtrees, you only need to return the root node of any one of 阅读全文
posted @ 2017-09-24 21:24 清水汪汪 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1. 在Linux下直接用pip install packageName,有些文件会被放到根目录下,如果没有sudo权限的话,是会安装失败的。这个以后我们就需要指定安装的目录了。 2. 一般编译源代码三部曲 ./configure make make install 这种默认安装路径的话,会把可执行 阅读全文
posted @ 2017-09-24 19:26 清水汪汪 阅读(11223) 评论(0) 推荐(0) 编辑
摘要: Question Find the nth digit of the infinite integer sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ... Note: n is positive and will fit within the range 阅读全文
posted @ 2017-09-24 19:17 清水汪汪 阅读(177) 评论(0) 推荐(0) 编辑