TheAlgorithms-C/data_structures/graphs
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
..
Makefile added more grah algos & Makefile, fixed som return non-void func errors 2020-01-17 20:10:31 +11:00
bellman_ford.c formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
bfs.c formatting filenames 909e15d8be 2020-05-30 18:26:19 +00:00
bfs_queue.c fix: file names modified for better readability (#770) 2020-11-03 18:46:26 -06:00
dfs.c formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
dfs_recursive.c fix: file names modified for better readability (#770) 2020-11-03 18:46:26 -06:00
dijkstra.c Update dijkstra.c (#928) 2022-01-11 23:50:32 +05:30
euler.c formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
floyd_warshall.c formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
graph.c formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
graph.h formatting filenames 909e15d8be 2020-05-30 18:26:19 +00:00
hamiltonian.c formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
kruskal.c fix: memory allocation method (#1220) 2023-03-17 12:01:44 -06:00
queue.c formatting source-code for b388e4a309 2020-05-29 20:23:24 +00:00
queue.h formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
strongly_connected_components.c formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
topological_sort.c fix: file names modified for better readability (#770) 2020-11-03 18:46:26 -06:00
transitive_closure.c fix: file names modified for better readability (#770) 2020-11-03 18:46:26 -06:00