摘要:
Regular Expression Matching及变形 要点 fb的常考题, uber也考过。 思路: recursion是基本的结构: 假设s为待匹配string, p为pattern. 当前要匹配si和pi位置的char. 因为有 的存在, 自然分成两种case: 就是有 和没有 . 如果 阅读全文
posted @ 2016-04-06 12:06
absolute100
阅读(110)
评论(0)
推荐(0)
摘要:
Regular Expression Matching及变形 要点 fb的常考题, uber也考过。 思路: recursion是基本的结构: 假设s为待匹配string, p为pattern. 当前要匹配si和pi位置的char. 因为有 的存在, 自然分成两种case: 就是有 和没有 . 如果 阅读全文
posted @ 2016-04-06 06:28
absolute100
阅读(134)
评论(0)
推荐(0)
浙公网安备 33010602011771号