摘要:
Given an absolute path for a file (Unix-style), simplify it. For example,path = "/home/", => "/home"path = "/a/./b/../../c/", => "/c" 测试用例: "/." - 阅读全文
摘要:
Implement int sqrt(int x). Compute and return the square root of x. 1. 注意: 2. Newton's Method 阅读全文
摘要:
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified. You shou 阅读全文