All Projects → geohot → Mergesorts

geohot / Mergesorts

mergesort in many languages

Programming Languages

shell
77523 projects

Mergesort In All Languages

Are you tired of unsorted arrays? Do you wanna smash your keyboard when you see the array:

👊🚧🙉[5,9,1,3,4,6,6,3,2]👊🚧🙉

Well look no further!
We provide the #1 Leading Industry-Proven AI 🎆 Decentralized 📟 Language-Agnostic 😎 Mergesort Solutions

More seriously

Our goal is to compare the length and "complexity" of the same code in many different languages. Which language is the best? Now we can know.

Functional languages like Scheme and Haskell seem to make much smaller code than Rust, Dart and C#.

And then there's J, which has a 3 line solution. The jury is out if it's readable though.

Getting started

Don't know merge sort algorithm.
Pick up a programming language and try to implement it yourself

Running all of the versions

Install everything you need and run: ./run.sh

Pull Requests

Make sure you have your language running in CI and it uses the list [5,9,1,3,4,6,6,3,2]

New policy: We will only be fixing bugs in already submitted languages. Want to join, pick a new language!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].