[目录][Leetcode] Leetcode 题解索引
之前想边做题边写结题报告,发现有点力不从心,而且很多地方也是一知半解,现在重新做题,重新理解。这篇文章主要起一个目录的作用。
目前没有什么特定的顺序,基本都是看心情翻牌的,哈哈~
我在Github上新建了一个Project, 大家可以参考, 目前是Java 为主,里面有leetcode上的题目,解答,还有一些基本的单元测试,方便大家起步。
- 128 Longest Consecutive Sequence -------- (Java) [Hard] [Array; Hash Table]
- 048 Rotate Image --------------------------- (Java) [Medium] [Array]
- 001 Two Sum -------------------------------- (Java) [Medium] [Array; Hash Table]
- 015 3Sum ----------------------------------- (Java) [Medium] [Array; Two Pointers]
- 016 3Sum Closest --------------------------- (Java) [Medium] [Array; Two Pointers]
- 019 Remove Nth Node From End of List -- (Java) [Medium] [Linked List; Two Pointers]
- 020 Valid Parentheses ---------------------- (Java) [Easy] [Stack; String]
- 150 Evaluate Reverse Polish Notation ------ (Java) [Medium] [Stack]
- 009 Merge Two Sorted Array ---------------- (C++) [Easy] [Array]
- 021 Merge Two Sorted Lists ----------------- (Java) [Easy] [Linked List]
- 042 Trapping rain water ---------------------(Java) [Hard] [Array; Stack; Two Pointers]