摘要: Given an absolute path for a file (Unix-style), simplify it. Or in other words, convert it to the canonical path. In a UNIX-style file system, a perio 阅读全文
posted @ 2019-08-24 23:02 Schwifty 阅读(164) 评论(0) 推荐(0)
摘要: Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Example 2: Note:You may assume the string contains only 阅读全文
posted @ 2019-08-24 08:26 Schwifty 阅读(123) 评论(0) 推荐(0)
摘要: Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, two is written as II in Roman numeral, just two one's 阅读全文
posted @ 2019-08-24 02:55 Schwifty 阅读(153) 评论(0) 推荐(0)