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