Algorithms and data-structures practice in Python3 or Java.
LeetCode practise in Python3 && Java.
# | Title | Tag | Desc_CN |
---|---|---|---|
001 | Two Sum | Array, Hash Table | 两数之和 |
003 | Longest Substring Without Repeating Characters | String, Sliding Window | 无重复字符的最长子串 |
014 | Longest Common Prefix | String | 最长公共前缀 |
026 | Remove Duplicates from Sorted Array | Array | 从排序数组中删除重复项 |
043 | Multiply Strings | String, Math | 字符串相乘 |
121 | Best Time to Buy and Sell Stock | DP | 买卖股票的最佳时机 |
122 | Best Time to Buy and Sell Stock II | DP | 买卖股票的最佳时机2 |
123 | Best Time to Buy and Sell Stock III | DP | 买卖股票的最佳时机3 |
125 | Valid Palindrome | String,Pointer | 验证回文串 |
131 | Palindrome Partitioning | DFS,Backtracking | 分割回文串 |
136 | Single Number | Math | 只出现一次的数字 |
139 | Word Break | DP | 单词拆分 |
169 | Majority Element | Math | 求众数 |
203 | Remove Linked List Elements | LinkedList | 单链表删除节点 |
206 | Reverse Linked List | LinkedList | 单链表反转 |
344 | Reverse String | String | 反转字符串 |
387 | First Unique Character in a String | String | 字符串中的第一个唯一字符 |
567 | Permutation in String | String, Sliding Window | 字符串的排列 |
Other algorithms and data-structures practice .
# | Title | Tag | Desc_CN |
---|---|---|---|
o-1 | Binary Search | Search | 二分查找 |
o-2 | Binary Tree Traversal | Tree, Traversal | 二叉树遍历 |
o-3 | Heap Sort | Heap, Sort | 堆排序 |
o-4 | Hash Table | Hash, Table | 哈希表 |