1. Why Learning Algorithm
Large companies in the interview, written tests require the algorithm and data structure of the basic need to master the very good, only master the basic algorithms and data structure, in order to make the code more efficient.
Using algorithms and data structures in the right place
2, what is the algorithm
Code = Algorithms + Data Structures
Algorithms: Finding (search), sorting (sort)
Data Structures: Arrays, lists (list), linked tables (LinkedList), collection (set), Heap (heap), dictionary (dict), queue (Queues), stack (stack)
3. How to Learn
(1) understand him (through reading materials, teaching materials, video comprehension)
(2) Manual simulation write out (complex code is not directly to use the brain to simulate the whole process)
(3) Use your own familiar language to achieve (realize the ability to understand)
4, need to learn what
(1) principle
(2) Implementation (Python)
(3) Time/space complexity
(4) Use scene (flexible use)
(5) Python basic syntax/object-oriented understanding
1. Introduction to Algorithms and data structures