Skip to content

About

Algorithms (Graph/Sort/Search) implemented from scratch in Kotlin. Built for learning, interview preparation, and understanding how common algorithms work.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

Repository files navigation

Kotlin Algorithms

A focused collection of algorithms implemented from scratch in Kotlin. Built for learning, interview preparation, and understanding how common algorithms work.

The implementations favor readable, textbook-style code, explicit control flow, and tests that demonstrate expected behavior.

Graph algorithms

Representations

Traversal and paths

Connectivity

Directed acyclic graphs

Shortest paths

Minimum spanning trees

Grids

  • Grid — coordinates, movement directions, and neighbor calculation.
  • Grid paths — BFS pathfinding over an implicit grid graph.

Sorting and searching

Sorting

Searching

Run the tests

./gradlew test

Inspired by William Fiset and Donglai Fu.

About

Algorithms (Graph/Sort/Search) implemented from scratch in Kotlin. Built for learning, interview preparation, and understanding how common algorithms work.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages