Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 1.35 KB

README.md

File metadata and controls

71 lines (58 loc) · 1.35 KB

Sorting Algorithms

CodeFactor

Some sorting algorithms for fun and to practice in several development languages with clean code.

Algorithms:

Bubble Sort, Counting Sort, Insertion Sort, Selection Sort, Tree Sort

Languages:

Written in CPython:

  • Bubble Sort
  • Counting Sort
  • Insertion Sort
  • Selection Sort
  • Tree Sort

in python folder:

$ python3 main.py

Written in PHP:

  • Bubble Sort
  • Counting Sort
  • Insertion Sort
  • Selection Sort

in php folder:

$ php main.php

Written in JS (deno):

  • Bubble Sort
  • Counting Sort
  • Insertion Sort
  • Selection Sort

in js folder:

$ deno run main.js

Written in C++:

  • Bubble Sort
  • Counting Sort
  • Insertion Sort
  • Selection Sort

in c++ folder:

$ g++ main.cpp ui/app.cpp algos/algos.cpp -o sortalgo
$ ./sortalgo

Written in Rust:

  • Bubble Sort
  • Counting Sort
  • Insertion Sort
  • Selection Sort

in rust folder:

$ cargo build --release
$ ./target/release/sortalgo