摘要: Given a string path, which is an absolute path (starting with a slash '/') to a file or directory in a Unix-style file system, convert it to the simpl 阅读全文
posted @ 2015-03-18 14:39 Grandyang 阅读(18436) 评论(8) 推荐(2) 编辑
摘要: Given a non-negative integer x, return the square root of x rounded down to the nearest integer. The returned integer should be non-negative as well. 阅读全文
posted @ 2015-03-18 10:10 Grandyang 阅读(30509) 评论(15) 推荐(2) 编辑
Fork me on GitHub