TheAlgorithms-C/data_structures
Rishav Kumar 9997c8bdf0
fix: memory allocation method (#1220)
* Fix : memory allocation method

"new" is not used in C , because of that the compiler was giving compilation error.
Instead malloc was used for memory allocation.

* updating DIRECTORY.md

* Update data_structures/graphs/kruskal.c

Co-authored-by: Stepfen Shawn <m18824909883@163.com>

* updating DIRECTORY.md

---------

Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
2023-03-17 12:01:44 -06:00
..
array Return success status (#957) 2022-09-30 14:20:08 +05:30
binary_trees docs: fix minor typos in data_structures/avl_tree.c (#1218) 2023-02-20 16:19:47 -06:00
dictionary
dynamic_array fix: remove double/unintended free (#1143) 2022-11-09 23:19:01 -06:00
graphs fix: memory allocation method (#1220) 2023-03-17 12:01:44 -06:00
hash_set
heap fix: Added limits.h in data_structures/heap/max_heap.c (#812) 2021-03-16 12:07:52 -06:00
linked_list feat: add Circular Doubly Linked List implementation (#1038) 2023-03-02 17:30:56 -06:00
list
queue feat: Moving queue file to it's directory and creating include file for it (#874) 2021-10-15 11:28:04 -05:00
stack chore: add display() and improve code formatting (#975) 2022-11-11 13:53:44 -06:00
trie feat: Rewrite the trie example (#927) 2022-03-19 19:04:18 -06:00
stack.c
vector.c feat: add a vector implementation in data structures (#977) 2022-11-08 15:18:39 -06:00