|
1 | | -# kotlin-playground |
2 | | -Stores all data structure and algorithmic problem and solutions |
| 1 | +# Kotlin Data Structure & Algorithm |
| 2 | +## 🚀 Overview |
| 3 | +This project is a curated and growing set of data structure and algorithm problems implemented in Kotlin. |
| 4 | + |
| 5 | +✅ Clean & idiomatic Kotlin solutions |
| 6 | + |
| 7 | +🧠 Problem-solving strategies explained inline |
| 8 | + |
| 9 | +📦 Structured for real-world interview prep (FAANG, Delivery Hero, Zalando, etc.) |
| 10 | + |
| 11 | +🔁 Patterns include arrays, trees, recursion, graphs, DP, and more |
| 12 | + |
| 13 | +## 🔧 How to Run |
| 14 | +🖥️ Requirements |
| 15 | +Kotlin 1.8+ |
| 16 | +IntelliJ IDEA or any Kotlin-friendly IDE |
| 17 | +JDK 17+ |
| 18 | + |
| 19 | +## Run a Solution |
| 20 | +Example using Kotlin CLI |
| 21 | +kotlinc arrays/TwoSum.kt -include-runtime -d out.jar |
| 22 | +java -jar out.jar |
| 23 | +You can also run each file inside IntelliJ using the green ▶️ run button |
| 24 | + |
| 25 | +## Topics Covered |
| 26 | +- Arrays & HashMaps |
| 27 | +- Strings & Parsing |
| 28 | +- Linked Lists |
| 29 | +- Trees & Recursion |
| 30 | +- Dynamic Programming |
| 31 | +- Sliding Window |
| 32 | +- Graph Traversal (DFS/BFS) |
| 33 | +- Backtracking |
| 34 | +- Sorting & Searching |
| 35 | + |
| 36 | +## 🙌 Contributing |
| 37 | +Pull requests are welcome! Feel free to open an issue for: |
| 38 | +- Bugs |
| 39 | +- Suggestions |
| 40 | +- Additional problems or optimization strategies |
0 commit comments