@@ -5,7 +5,8 @@ This responsibility is a practice area for leetcode problems.
5
5
It not only focus on solving but also different solutions.
6
6
7
7
Furthermore, this responsibility is mainly for different implemention of problem's on leetcode.
8
- For example, traversing a tree
8
+
9
+ About different between solution and implemention, For example, traversing a tree
9
10
10
11
1)DFS and BFS are considered as TWO different solutions
11
12
@@ -14,7 +15,7 @@ For example, traversing a tree
14
15
As we know, when interview, for a problem, the requirement are higher than it in programming contests, we only
15
16
, in programming contests, we only care the algorithm complexity and correctness, but when in interview, the interviewer
16
17
often ask other question, especially about the different implemention and solution. For example, he may ask you whether you can
17
- implement without define this varable, change recursion to stack, traverse without queue, do not use vector, etc.
18
+ implement without define this auxiliary varable, change recursion to stack, traverse without queue, do not use vector, etc.
18
19
19
20
And if you practice leetcode just like other online judges, just submit and get Accepted, then throw it away, it's hard
20
21
to prepare these questions. Actually, different from complexity and correctness,
0 commit comments