IncredibleThings

导航

2016年5月3日 #

LeetCode-Count and Say

摘要: 一道facebook的面试题,注意化繁为简。 阅读全文

posted @ 2016-05-03 08:07 IncredibleThings 阅读(121) 评论(0) 推荐(0) 编辑

LeetCode-Implement strStr()

摘要: 有一种KMP算法,不过实现起来比较复杂,这里直接用暴力解法 阅读全文

posted @ 2016-05-03 03:30 IncredibleThings 阅读(89) 评论(0) 推荐(0) 编辑

LeetCode-Remove Duplicates from Sorted Array

摘要: 注意边界case 阅读全文

posted @ 2016-05-03 02:14 IncredibleThings 阅读(108) 评论(0) 推荐(0) 编辑

LeetCode-Swap Nodes in Pairs

摘要: 这道题考验链表的遍历, 切记要加上一个dummy head, 并且区分index的单偶数,不难 阅读全文

posted @ 2016-05-03 01:37 IncredibleThings 阅读(108) 评论(0) 推荐(0) 编辑