Given an absolute path for a file (Unix-style), simplify it.For example, path = "/home/", => "/home" path = "/a/./b/../../c/", => "/c"Corner Cases:Did... Read More
posted @ 2014-08-18 16:54
Xylophone
Views(143)
Comments(0)
Diggs(0)
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have t... Read More
posted @ 2014-08-18 11:20
Xylophone
Views(182)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号