Kotlin
Kotlin copied to clipboard
All Algorithms implemented in Kotlin
- [x] Supports Kotlin 1.6.10 - [x] Java 17 - [x] gradle 7.3.3 - [x] updated documentation and nomenclature as per official convention - [x] updated deprecated functions.
Hello! This PR adds an implementation of queue using a IntArray. It includes: - enqueue method - dequeue method - peek first and last items - unit tests for enqueue...
The Vigenère cipher is an example of a polyalphabetic substitution cipher. A polyalphabetic substitution cipher is similar to a monoalphabetic substitution except that the cipher alphabet is changed periodically while...
In cryptography, Triple DES, officially the Triple Data Encryption Algorithm, is a symmetric-key block cipher, which applies the DES cipher algorithm three times to each data block. I have implemented...
Added implementation for RSA Encryption and Decryption along with its test cases
Have implemented Caesar encryption and decryption along with its test cases
[Binary Exponentiation](https://cp-algorithms.com/algebra/binary-exp.html) allows for the computation of very high powers of numbers in O(log(n)) time complexity where n is the index of exponentiation. Added : 1. Implementations of binary exponentiation...
If possible, could this get the `hacktoberfest-approved` tag if merged?
Knuth–Morris–Pratt string-searching algorithm searches for occurrences of a "word" W within a main "text string" S