OCaml
OCaml copied to clipboard
Algorithms Implemented in OCaml
Implemented Prim's algorithm that returns the minimal spanning tree of given graph Implemented Dijkstras Algorithm to return the shortest distance between given node and all other nodes in graph
Dear maintainers, I noticed that this repository is still labeled with 'hacktoberfest'. However, there are still several PR's from last years Hacktoberfest that weren't accepted haven't been commented which seems...
added some of the basic sort algorithms - bubble sort - merge sort - heap sort - pancake sort
It's a simplified version of the implementation from https://opam.ocaml.org/packages/tsort/ As that project has grown to support sorting strongly connected components of cyclic graphs, it's much less "short and instructive" as...
Hello ! This pull request is a first add of some maths functions written in Ocaml. Do not hesitate to tell me if anything needs to be changed ! *...
- added `dune` and `dune-project` files, so that we can now build and test with `dune test` - added `test` directory, added test files for `quicksort` and `linear_search` From now...
Fractals are often computed recursively, with this pull-request, I added a program that displays Sierpinski's Triangle using a given number of iterations (you can test it with 0, 1, 2...
This adds bubble sort to the set of algorithmsf or OCaml. The "sorting" folder was added as the repos in other languages seem to be doing the same thing. I've...
So, there is several PR, and I'm thinking to PR my code too. is this repo maintained anymore;