-
How to learn data structures and algorithms
-
Complexity analysis can find the optimal solution only by analyzing complexity, so complexity analysis is the basis of learning algorithm.
-
Focus on learning data structures and algorithms
- For us beginners are not any data structure to learn, need to master these basic data structures and algorithms, learning other data structures and algorithms will not be difficult.
- Practice/think/summarize more, so as to master some problem-solving skills;
- Common data structures and algorithms
- Data structures: array, linked list, stack, queue, hash table, binary tree, heap, skip table, graph, Tire tree
- Algorithms: recursion, sorting, binary search, search, hash algorithm, greedy algorithm, divide-and-conquer algorithm, backtracking algorithm, dynamic programming, string matching algorithm
-