forked from TheAlgorithms/Python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 3fd3497
SiddhantTotadepre-commit-ci[bot]cclauss
authoredAdd Comments (TheAlgorithms#9668)
* docs : add comment in circular_linked_list.py and swap_nodes.py
* docs : improve comments
* docs : improved docs and tested on pre-commit
* docs : add comment in circular_linked_list.py and swap_nodes.py
* docs : improve comments
* docs : improved docs and tested on pre-commit
* docs : modified comments
* Update circular_linked_list.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* docs : improved
* Update data_structures/linked_list/circular_linked_list.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update data_structures/linked_list/circular_linked_list.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update data_structures/linked_list/swap_nodes.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update data_structures/linked_list/swap_nodes.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update data_structures/linked_list/swap_nodes.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update data_structures/linked_list/swap_nodes.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update requirements.txt
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update data_structures/linked_list/circular_linked_list.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Apply suggestions from code review
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update circular_linked_list.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>1 parent 24dbdd0 commit 3fd3497
File tree
2 files changed
+113
-21
lines changed- data_structures/linked_list
2 files changed
+113
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
9 | 14 | | |
10 | - | ||
15 | + | ||
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | - | ||
15 | - | ||
16 | - | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
17 | 25 | | |
18 | 26 | | |
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
| |||
24 | 37 | | |
25 | 38 | | |
26 | 39 | | |
40 | + | ||
41 | + | ||
42 | + | ||
27 | 43 | | |
28 | 44 | | |
29 | - | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
30 | 51 | | |
31 | 52 | | |
32 | 53 | | |
54 | + | ||
55 | + | ||
56 | + | ||
33 | 57 | | |
34 | 58 | | |
35 | 59 | | |
60 | + | ||
61 | + | ||
62 | + | ||
36 | 63 | | |
37 | 64 | | |
38 | 65 | | |
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
39 | 75 | | |
40 | 76 | | |
41 | 77 | | |
42 | 78 | | |
43 | - | ||
79 | + | ||
44 | 80 | | |
45 | - | ||
81 | + | ||
46 | 82 | | |
47 | 83 | | |
48 | 84 | | |
| |||
51 | 87 | | |
52 | 88 | | |
53 | 89 | | |
54 | - | ||
90 | + | ||
55 | 91 | | |
56 | 92 | | |
57 | - | ||
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | + | ||
98 | + | ||
58 | 99 | | |
59 | 100 | | |
60 | 101 | | |
102 | + | ||
103 | + | ||
104 | + | ||
105 | + | ||
106 | + | ||
107 | + | ||
108 | + | ||
61 | 109 | | |
62 | 110 | | |
63 | 111 | | |
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
117 | + | ||
118 | + | ||
119 | + | ||
120 | + | ||
64 | 121 | | |
65 | 122 | | |
66 | 123 | | |
67 | - | ||
124 | + | ||
68 | 125 | | |
69 | - | ||
126 | + | ||
70 | 127 | | |
71 | 128 | | |
72 | 129 | | |
| |||
75 | 132 | | |
76 | 133 | | |
77 | 134 | | |
78 | - | ||
135 | + | ||
79 | 136 | | |
80 | 137 | | |
81 | 138 | | |
82 | 139 | | |
140 | + | ||
141 | + | ||
142 | + | ||
143 | + | ||
144 | + | ||
83 | 145 | | |
84 | 146 | | |
85 | 147 | | |
86 | 148 | | |
87 | 149 | | |
150 | + | ||
88 | 151 | | |
89 | 152 | | |
90 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | - | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
6 | 13 | | |
7 | - | ||
14 | + | ||
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
11 | - | ||
12 | - | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
13 | 23 | | |
14 | 24 | | |
25 | + | ||
26 | + | ||
27 | + | ||
15 | 28 | | |
16 | 29 | | |
17 | 30 | | |
18 | 31 | | |
19 | 32 | | |
20 | 33 | | |
21 | - | ||
22 | - | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
23 | 40 | | |
24 | 41 | | |
25 | 42 | | |
26 | 43 | | |
27 | - | ||
28 | - | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
29 | 55 | | |
30 | 56 | | |
31 | 57 | | |
| |||
40 | 66 | | |
41 | 67 | | |
42 | 68 | | |
69 | + | ||
43 | 70 | | |
44 | 71 | | |
45 | 72 | | |
| |||
48 | 75 | | |
49 | 76 | | |
50 | 77 | | |
78 | + | ||
51 | 79 | | |
52 | 80 | | |
53 | 81 | | |
54 | - | ||
82 | + | ||
83 | + | ||
55 | 84 | | |
0 commit comments