All Projects → SmartKeyerror → Snorlax

SmartKeyerror / Snorlax

Licence: other
👻 Explore data structure & algorithm with C/C++.总结常用的数据结构和算法,包含图论,以及 Leetcode 刷题记录

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Snorlax

C-language
C语言练习代码
Stars: ✭ 186 (+287.5%)
Mutual labels:  data-structure
fixie-trie
Compact tries for fixed-width keys
Stars: ✭ 23 (-52.08%)
Mutual labels:  data-structure
sword-x-offer
66 classic and common interview problems from 《剑指offer》 with multiple-method-CPP solutions, and common data structure summary, etc
Stars: ✭ 19 (-60.42%)
Mutual labels:  data-structure
hypergraph
Hypergraph is data structure library to create a directed hypergraph in which a hyperedge can join any number of vertices.
Stars: ✭ 205 (+327.08%)
Mutual labels:  data-structure
hackerrank-30-Days-of-Code
Hackerrank Solutions of "30 Days of Code Challenges "
Stars: ✭ 23 (-52.08%)
Mutual labels:  data-structure
FingerTree
A Scala implementation of the versatile purely functional data structure of the same name.
Stars: ✭ 59 (+22.92%)
Mutual labels:  data-structure
dask-awkward
Native Dask collection for awkward arrays, and the library to use it.
Stars: ✭ 25 (-47.92%)
Mutual labels:  data-structure
py-algorithms
Algorithms and Data Structures, solutions to common CS problems.
Stars: ✭ 26 (-45.83%)
Mutual labels:  data-structure
gmap
heterogenous Map over a GADT
Stars: ✭ 40 (-16.67%)
Mutual labels:  data-structure
leetcode
✍️ 200+ LeetCode solutions in Java
Stars: ✭ 53 (+10.42%)
Mutual labels:  data-structure
ds
🔗 Common Data Structures and Algorithms
Stars: ✭ 40 (-16.67%)
Mutual labels:  data-structure
the-entitytainer
A single header library for managing game entity hierarchies.
Stars: ✭ 31 (-35.42%)
Mutual labels:  data-structure
mobx-collection-store
Data collection store for MobX
Stars: ✭ 36 (-25%)
Mutual labels:  data-structure
data-structure-ts
Basic data structures and popular algorithms implemented in Typescript.
Stars: ✭ 14 (-70.83%)
Mutual labels:  data-structure
Coursera-Stanford-Graph-Search-Shortest-Paths-and-Data-Structures
Notebook for quick search
Stars: ✭ 29 (-39.58%)
Mutual labels:  data-structure
Algorithms
Java implementation for Introduction to Algorithms book.
Stars: ✭ 58 (+20.83%)
Mutual labels:  data-structure
Programming-Reference
Open repository of programming topic for reverse engineering purpose.
Stars: ✭ 25 (-47.92%)
Mutual labels:  data-structure
fenwick
List data structure supporting prefix sums
Stars: ✭ 38 (-20.83%)
Mutual labels:  data-structure
elixir-queue
Queue data structure for Elixir-lang
Stars: ✭ 18 (-62.5%)
Mutual labels:  data-structure
js-data-structures-and-algorithms
JavaScript implementations of common data structure and algorithm concepts.
Stars: ✭ 31 (-35.42%)
Mutual labels:  data-structure

Snorlax


🔭 Algorithm

🔥 动态规划

🐾 Graph

🐡 Other Algorithm Topics

👻 System Design


🗃️ Algorithm Summary

Binary Tree

方法 注意点 能够解决的问题
前序遍历 将根节点的信息传递至左右子树 验证 BST: 98. Validate Binary Search Tree
判断两棵树是否完全相同: 100. Same Tree
判断是否为子树: 572. Subtree of Another Tree
根节点到叶子节点的路径问题: 113. Path Sum II
所有二叉树的构造问题都是前序遍历: 108. Convert Sorted Array to Binary Search Tree
中序遍历 BST 的中序遍历结果有序 验证 BST: 98. Validate Binary Search Tree
BST 中第 K 小/大的元素: 230. Kth Smallest Element in a BST
后序遍历 将左右子树的信息传回给根节点 二叉树的最大高度: 104. Maximum Depth of Binary Tree
二叉树的最小高度: 111. Minimum Depth of Binary Tree
翻转二叉树: 226. Invert Binary Tree
翻转二叉树为链表: 114. Flatten Binary Tree to Linked List
最近公共祖先问题: 236. Lowest Common Ancestor of a Binary Tree
DP + BinaryTree: 337. House Robber III
层序遍历 使用 queue 保存每一层的节点
BFS 用于求解无权图最短路径
寻找二叉树每一行的最大节点值: 515. Find Largest Value in Each Tree Row
二叉树的右视图: 199. Binary Tree Right Side View
多叉树最短路径问题: 310. Minimum Height Trees
二叉树中所有距离为 K 的节点: 863. All Nodes Distance K in Binary Tree

Two Pointers

方式 注意点 能够解决的问题 备注
对撞指针 left 能否等于 right? 二分搜索: 704. Binary Search
盛水最多的容器: 11. Container With Most Water
N-Sum 问题: 15. 3Sum18. 4Sum
N-Sum 问题注意元素重复问题
快慢指针 寻找链表的中间节点: 876. Middle of the Linked List
判断链表是否有环: 141. Linked List Cycle
链表的归并排序: 148. Sort List
滑动窗口 判断是否具有单调性质 最长无重复子串: 3. Longest Substring Without Repeating Characters
替换后的最长重复字符: 424. Longest Repeating Character Replacement
至多包含两个不同字符的最长子串: 159. Longest Substring with At Most Two Distinct Characters
乘积小于K的子数组: 713. Subarray Product Less Than K
最小覆盖子串: 76. Minimum Window Substring
Alt text
Alt text

🍻 Interesting Problems

Danamic Programing

Linked-List

intersection-of-two-linked-list

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].