Skip to content

Commit 829c352

Browse files
committed
update readme
1 parent 5f36e3e commit 829c352

File tree

1 file changed

+71
-31
lines changed

1 file changed

+71
-31
lines changed

README.md

Lines changed: 71 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,65 +10,105 @@ Updating...
1010

1111
## Table of Contents
1212

13-
* Callstack
13+
- Callstack
1414

15-
* Premitive Type, Reference Type
15+
- Premitive Type, Reference Type
1616

17-
* Implicit, Explicit, Nominal, Structuring, and Duck
17+
- Implicit, Explicit, Nominal, Structuring, and Duck
1818

19-
* Function, Scope, block scope, lexical scope
19+
- Function, Scope, block scope, lexical scope
2020

21-
* Arrow functions
21+
- Arrow functions
2222

23-
* IIFE, modules, namespaces
23+
- IIFE, modules, namespaces
2424

25-
* Message queue and Event Loop
25+
- Message queue and Event Loop
2626

27-
* Expression, statement
27+
- Expression, statement
2828

29-
* setTimeout, setInterval, requestAnimationFrame
29+
- setTimeout, setInterval, requestAnimationFrame
3030

31-
* this, bind, call and apply
31+
- this, bind, call and apply
3232

33-
* Bitwise operators, type arrays and array buffers
33+
- Bitwise operators, type arrays and array buffers
3434

35-
* DOM and Layout trees
35+
- DOM and Layout trees
3636

37-
* Factories and Classes
37+
- Factories and Classes
3838

39-
* new, constructor, instanceof and instance
39+
- new, constructor, instanceof and instance
4040

41-
* Prototype Inheritance and Prototype Chain
41+
- Prototype Inheritance and Prototype Chain
4242

43-
* Object.create and Object.assign
43+
- Object.create and Object.assign
4444

45-
* Closures
45+
- Closures
4646

47-
* Higher order functions
47+
- Higher order functions
4848

49-
* Recursion
49+
- Recursion
5050

51-
* Pure functions, side effects, state mutation
51+
- Pure functions, side effects, state mutation
5252

53-
* map, reduce, filter
53+
- map, reduce, filter
5454

55-
* Collections and Generations
55+
- Collections and Generations
5656

57-
* Promises
57+
- Promises
5858

59-
* Async/await
59+
- Async/await
6060

61-
* Data Structures
61+
- Data Structures
6262

63-
* Expensive Operation and Big-Oh notation
63+
- Expensive Operation and Big-Oh notation
6464

65-
* Algorithms
65+
- Algorithms
6666

67-
* Inheritance, Polymophism and Reuse
67+
- Inheritance, Polymophism and Reuse
6868

69-
* Partial Applications, Currying, Compose and Pipe
69+
- Partial Applications, Currying, Compose and Pipe
7070

71-
* Design patterns
71+
- Design patterns
7272

73-
* Clean code
73+
- Clean code
7474

75+
## Trở thành một lập trình viên chuẩn mực
76+
77+
### Một số thủ thuật cơ bản (tricks):
78+
79+
- 2 con trỏ (multiple pointers)
80+
- Dãy tạm
81+
82+
Một số suy nghĩ về việc tối ưu thời gian chạy:
83+
84+
- Dùng bảng băm khi đề bài yêu cầu tìm chính xác (O(1));
85+
86+
- Dùng 2 con trỏ khi cần tìm gần đúng, hoặc tìm kế tiếp (chống vòng lặp for và đệ quy).
87+
88+
- Biết dùng đệ quy đúng cách.
89+
90+
- Dùng cây tìm kiếm tối thiểu trả về giá trị Min, không cần duyệt toàn bộ hay sort().
91+
92+
- Dùng cây tìm kiếm nhị phân, vừa thêm, vừa kiếm.
93+
94+
### Thuật toán
95+
96+
- Đệ quy Backtrack
97+
- Quy hoạch động - đệ quy có nhớ:
98+
- Đếm cách
99+
- Dùng ít nhất (chi phí nhỏ nhất)
100+
- Nhánh cận
101+
...
102+
103+
### Cấu trúc dữ liệu
104+
105+
- Cây nhị phân: tối thiểu, tìm kiếm
106+
- Graph
107+
- Hash table, hash map
108+
...
109+
110+
### Khả năng thực chiến - Xây dựng ứng dụng, app ...
111+
112+
- Tìm median (eCommerce)
113+
- Bài toán đặt phòng
114+
- Autocomplete

0 commit comments

Comments
 (0)