/Leetcode-Solutions

Solutions for Leetcode in Kotlin and list of useful and important topics on competitive programming

Primary LanguageKotlin

Competitive Programming Solutions from Leetcode, Kattis + Useful resources & templates

LeetCode Stats

A collection of solutions to Leetcode problems, all in Kotlin language. Mix of EASY, MEDIUM, and HARD questions. Problems are named xxxx-problem-name-in-lowercase.kt, for example 71. Simplify Path is named 0071-simplify-path.kt. Usually all problems are solved in the most efficient way, but some problems contains several and different solutions, in the same file but clearly separated.

There are subfolders for problems from Kattis, Lintcode, Grind75 (Java).

I have also started adding resources and templates below, for all things important in Algorithms, Datastructures and Competitve Programming,

If you have a better solution for a problem, any optimization, another way of solving it, etc, I would love to hear from you. Open a Issue or PR.

Useful algorithms, Datastructures, Math, Techniques, etc for competitive programming

Basics

Sorting

Graphs

Trees

Dynamic Programming

String

Datastructures

Bitwise operations

Techniques

Math

Misc