摘要: Implement regular expression matching with support for '.' and '*'. 阅读全文
posted @ 2018-01-08 12:48 逸朵 阅读(136) 评论(0) 推荐(0)
摘要: You are given several logs that each log contains a unique id and timestamp. Timestamp is a string that has the following format: Year:Month:Day:Hour: 阅读全文
posted @ 2018-01-08 12:32 逸朵 阅读(198) 评论(0) 推荐(0)
摘要: Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: Note: You may assume the 阅读全文
posted @ 2018-01-08 10:07 逸朵 阅读(212) 评论(0) 推荐(0)
摘要: Some useful articles: http://www.cnblogs.com/LBSer/p/3310455.html http://www.meetqun.net/thread-25663-1-1.html https://www.quora.com/How-do-I-evaluate 阅读全文
posted @ 2018-01-08 09:33 逸朵 阅读(206) 评论(0) 推荐(0)
摘要: There are lots of similar problems as "Find nearest gas stations close to my home", I found the following article can give you a general idea how to s 阅读全文
posted @ 2018-01-08 09:29 逸朵 阅读(524) 评论(0) 推荐(0)