LeetCode &《剑指offer》中的算法题的题目和解法 & 常见算法的实现
1.1 Fibonacci Implementation(斐波那契数列实现)
2.1 Bubble Sort Implementation(冒泡排序实现)
2.2 Selection Sort Implementation(选择排序实现)
2.3 Insertion Sort Implementation(插入排序实现)
2.4 Quick Sort Implementation(快速排序实现)
3.0 Linked List Test Demo(链表类,测试用例)
3.2 Intersection Of Two Linked Lists(两个链表的交点)
3.4 Merge Two Linked Lists(合并两个链表)
3.5 Find the Kth to tail in Linked List(找到链表的倒数第K个节点)
3.6 Recursively Print Linked List(倒序打印链表)
3.7 Remove Nth From End Of Linkded List(删除链表倒数第N个节点)
3.8 Delete Node in a Linked List(删除链表里某个节点)
3.9 Remove Duplicates I(删除链表内重复的节点,保留单个节点)
3.10 Remove Duplicates II(删除链表内所有重复的节点)
3.11 Remove Linked List Elements(删除链表里某个值的所有节点)
3.12 Partition Linked List(左右临界值分离)
3.13 Old Even List(左右奇偶index的值分离)
4.1 Contains Duplicate I(检测数组中是否包含重复的元素)
4.2 Majority Element(出现次数超过数组长度一半的元素)
4.3 Single Number(数组中只出现过一次的数字)
4.4 Missing Number (寻找数组中缺失的数字)
4.6 Remove Element (移除数组中等于某个值的元素)
4.8 Two Sum II(有序数组内部的两个元素的和为目标值)
4.9 Minimum Sub Array Sum(无序数组和大于或等于某值的最小子数组)
4.10 Intersection of Two Arrays(两个数组的交点元素)
4.11 The Top Kth Frequent Element (出现频率最高的第k个元素)
4.12 The Kth Largest Element(数组中第k大的元素)
4.13 Merge Two Sorted Array (合并两个有序的数组)
4.14 Two Sum I(无序数组内部的两个元素的和为目标值)
5.1 Maximum Depth of Binary Tree(二叉树的深度)
5.3 Balanced Binary Tree(是否是平衡二叉树)
This repositorie is released under the under MIT License