Skip to content

Commit 2f84f03

Browse files
authored
organize files and remove calculator & iterables (keon#623)
1 parent 29b310d commit 2f84f03

File tree

9 files changed

+13
-1061
lines changed

9 files changed

+13
-1061
lines changed

Diff for: README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ If you want to uninstall algorithms, it is as simple as:
113113
- [insert_bit](algorithms/bit/insert_bit.py)
114114
- [remove_bit](algorithms/bit/remove_bit.py)
115115
- [binary_gap](algorithms/bit/binary_gap.py)
116-
- [calculator](algorithms/calculator)
117-
- [math_parser](algorithms/calculator/math_parser.py)
118116
- [compression](algorithms/compression)
119117
- [huffman_coding](algorithms/compression/huffman_coding.py)
120118
- [rle_compression](algorithms/compression/rle_compression.py)
@@ -172,8 +170,6 @@ If you want to uninstall algorithms, it is as simple as:
172170
- [skyline](algorithms/heap/skyline.py)
173171
- [sliding_window_max](algorithms/heap/sliding_window_max.py)
174172
- [binary_heap](algorithms/heap/binary_heap.py)
175-
- [iterables](algorithms/iterables)
176-
- [convolved](algorithms/iterables/convolved.py)
177173
- [k_closest_points](algorithms/heap/k_closest_points.py)
178174
- [linkedlist](algorithms/linkedlist)
179175
- [add_two_numbers](algorithms/linkedlist/add_two_numbers.py)
@@ -387,8 +383,8 @@ If you want to uninstall algorithms, it is as simple as:
387383
- [full_path](algorithms/unix/path/full_path.py)
388384
- [split](algorithms/unix/path/split.py)
389385
- [simplify_path](algorithms/unix/path/simplify_path.py)
390-
- [union-find](algorithms/union-find)
391-
- [count_islands](algorithms/union-find/count_islands.py)
386+
- [unionfind](algorithms/unionfind)
387+
- [count_islands](algorithms/unionfind/count_islands.py)
392388

393389

394390
## Contributors

Diff for: algorithms/calculator/math_parser.py

-149
This file was deleted.

Diff for: algorithms/graph/Transitive_Closure_DFS.py renamed to algorithms/graph/transitive_closure_dfs.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ def transitive_closure(self):
4040
print(self.tc)
4141

4242

43-
g = Graph(4)
44-
g.add_edge(0, 1)
45-
g.add_edge(0, 2)
46-
g.add_edge(1, 2)
47-
g.add_edge(2, 0)
48-
g.add_edge(2, 3)
49-
g.add_edge(3, 3)
50-
51-
print("Transitive closure matrix is")
52-
g.transitive_closure()
43+
# g = Graph(4)
44+
# g.add_edge(0, 1)
45+
# g.add_edge(0, 2)
46+
# g.add_edge(1, 2)
47+
# g.add_edge(2, 0)
48+
# g.add_edge(2, 3)
49+
# g.add_edge(3, 3)
50+
51+
# print("Transitive closure matrix is")
52+
# g.transitive_closure()

Diff for: algorithms/iterables/__init__.py

-1
This file was deleted.

Diff for: algorithms/iterables/convolved.py

-154
This file was deleted.

0 commit comments

Comments
 (0)