Code Monkey home page Code Monkey logo

cp-algorithms-kotlin's Introduction

Competitive Programming Algorithms In Kotlin

This repository contains my implementations of useful algorithms for competitive programming in the Kotlin programming language. While the aim is for the algorithms to be as correct as possible, there might be a few mistakes. Therefore, none of these is algorithms is meant to be deployed in production. However, since accuracy is important, I'll try to write unit tests for each algorithm implemented.

Also, most of the code in this repo is meant to be used in programming competitions (such as codeforces, atcoder, google code jam e.t.c), so the emphasis is on keeping it as concise as possible, so some best practices are not followed and some functions may need to be modified to be useful in general cases.

Resources used

Below are some resources I used to learn about the different algorithms in this repo:

Algorithms in this repo:

Strings

  • String Hashing (Read more here)
  • Rabin Karp Algorithm (Read more here and here)
  • Key Indexed Counting a.k.a Counting sort (Read more in Section 5.1 of Algorithms and here)
  • LSD and MSD Sort (Read more in Section 5.1 of Algorithms)
  • Trie (Read more in Section 5.2 of Algorithms)

Recursion

cp-algorithms-kotlin's People

Contributors

cmplx-xyttmt avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.