"Data Structure and Algorithm"
Array
Array is a data structure consisting of a collection of elements (values or variables), of same memory size, each identified by at least one array index or key.
Read Post
Stack
Stack is a data structure that stores elements in a linear structure.
Read Post
Linked List
Linked List is a data structure that stores elements in a linear structure.
Read Post
Queue
Queue is a data structure that stores elements in a linear structure.
Read Post
Hash Table
Hash Table is a data structure that stores key-value pairs.
Read Post
Binary Search Tree
a binary search tree (BST), also called an ordered or sorted binary tree, is a rooted binary tree data structure with the key of each internal node being greater than all the keys in the respective node's left subtree and less than the ones in its right subtree.
Read Post
Heap
(Updated on )
堆 (Heap) 是一种基于完全二叉树的数据结构,能在 O(1) 时间获取最值,O(log n) 时间插入和删除。
Read Post
AVL Tree
AVL Tree is a self-balancing binary search tree.
Read Post
Red-Black Tree
Red-Black Tree is a data structure that stores elements in a binary search tree.
Read Post
Binary Search
Binary Search is an efficient search algorithm for finding a specific element in a sorted array.
Read Post