Commit Graph

16 Commits

Author SHA1 Message Date
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
Idan BananI 0ceb3b340e
Update dijkstra.c (#928)
in this way valgrind checks will pass and result will stay the same (functions as a static variable)
2022-01-11 23:50:32 +05:30
meenal2000 aef9d8d53f
fix: file names modified for better readability (#770)
* file names modified

* files name modified

* file names modified

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-11-03 18:46:26 -06:00
github-actions 6f98288110 formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
github-actions 466ccaa407 formatting filenames 909e15d8be 2020-05-30 18:26:19 +00:00
github-actions 0779a2b70d formatting source-code for b388e4a309 2020-05-29 20:23:24 +00:00
ttuanho fd52c9f2c6 added more grah algos & Makefile, fixed som return non-void func errors 2020-01-17 20:10:31 +11:00
SangeetaNB 199b4f8c56
Create kruskal.c 2019-10-24 22:02:20 +05:30
PalAditya 6c997cf726
Added code to find strongly connected components 2019-09-30 17:59:37 +05:30
PalAditya 160a280302
Added Topological Sorting 2019-09-26 18:12:56 +05:30
PalAditya 11b334fbc6
Added DFS algorithm 2019-09-15 11:40:36 +05:30
PalAditya 7e50d9165f
Added BFS algorithm 2019-09-14 20:20:03 +05:30
arpanjain97 5e8dbc06d0 Fix output display 2017-10-13 11:53:03 +05:30
arpanjain97 1e9c4a5610 Add Floyd-Warshall Algorithm 2017-10-12 21:04:57 +05:30
arpanjain97 901b5c2ba8 Add Bellman-Ford Algorithm 2017-10-12 21:04:18 +05:30
arpanjain97 909f00c605 Add Dijkstra's Algorithm 2017-10-12 21:03:44 +05:30