Python/data_structures
Akash f9e0dd94d6
added __len__ function (#1812)
* added __len__ function

Added a function to count number of nodes in linked list

* Updated __len__ method

used snake_case instead of camel case

* Add tests to __len__()

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-05-18 18:10:55 +02:00
..
binary_tree Fix psf/black issues than fail the build (#1935) 2020-05-03 23:58:44 +02:00
data_structures/heap pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
disjoint_set Add disjoint set (#1194) 2019-09-23 05:08:20 +02:00
hashing Fix rehashing function will not call insert_data function (#1803) 2020-03-16 11:19:13 +01:00
heap Add type hints to max_heap.py (#1960) 2020-05-11 12:23:39 +02:00
linked_list added __len__ function (#1812) 2020-05-18 18:10:55 +02:00
queue change method name from front to get_front (#1943) 2020-05-06 11:19:44 +05:30
stacks Fix psf/black issues than fail the build (#1935) 2020-05-03 23:58:44 +02:00
trie Add delete to trie.py + tests (#1177) 2019-09-13 22:24:25 +02:00