Kotlin
Kotlin copied to clipboard
All Algorithms implemented in Kotlin
I have added a gcd.kt file which calculates Gcd of 2 numbers .
Standard binary heap implementation with the following methods: 1. Push 2. Pop 3. Peek 4. Heapify Tests demonstrate how to instantiate a minHeap and MaxHeap.
Added simple anagram verifier algorithm
added catlan nuber in dp in kotlin dynmaic programing file proper extensions and package.
Added algorithm to reverse a given string
Added shaker sort Sorting by mixing, also known as cocktail sort or shaker sort, is a variation of bubble sort that works by sorting the elements in both directions. Like...
and added test function for the areaOfATrapezium
Will be really appreciate if someone would merge the pull requests, at the time there's 55 pull request and still counting