Skip to content

sumanas27/kotlin-data-structure-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Kotlin Data Structure & Algorithm

πŸš€ Overview

This project is a curated and growing set of data structure and algorithm problems implemented in Kotlin.

βœ… Clean & idiomatic Kotlin solutions

🧠 Problem-solving strategies explained inline

πŸ“¦ Structured for real-world interview prep (FAANG, Delivery Hero, Zalando, etc.)

πŸ” Patterns include arrays, trees, recursion, graphs, DP, and more

πŸ”§ How to Run

πŸ–₯️ Requirements Kotlin 1.8+ IntelliJ IDEA or any Kotlin-friendly IDE JDK 17+

Run a Solution

Example using Kotlin CLI kotlinc arrays/TwoSum.kt -include-runtime -d out.jar java -jar out.jar You can also run each file inside IntelliJ using the green ▢️ run button

Topics Covered

  • Arrays & HashMaps
  • Strings & Parsing
  • Linked Lists
  • Trees & Recursion
  • Dynamic Programming
  • Sliding Window
  • Graph Traversal (DFS/BFS)
  • Backtracking
  • Sorting & Searching

πŸ™Œ Contributing

Pull requests are welcome! Feel free to open an issue for:

  • Bugs
  • Suggestions
  • Additional problems or optimization strategies