Skip to content
neerajsahu14Public

About

From LeetCode to Android — Interactive algorithm-powered apps built with Kotlin, Jetpack Compose, and Clean Architecture.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🧩 AlgoPlay

AlgoPlay is a production-grade Android application that transforms classic Data Structures & Algorithms (DSA) into interactive, visual mobile experiences.

Instead of writing algorithms solely for online judges or terminal tests, AlgoPlay demonstrates how those same algorithms can drive real-world, interactive user interfaces using modern Android architecture.


🎯 Project Core Documentation

To understand the architecture and engineering decisions behind AlgoPlay, explore these detailed guides:


✨ Vision

Bridging the Gap: From LeetCode Problems → Production Apps

AlgoPlay demonstrates:

  • Real-World Application: How algorithms shape features like game loops, pathfinding solvers, visual timelines, and caches.
  • Modern Jetpack Compose UI: Clean, fluid animations, responsive layouts (landscape/portrait/tablets), and design themes.
  • Robust Engineering: Decoupled, multi-module architecture, dependency injection, and comprehensive automated quality gates.

🧠 Algorithms & Modules Roadmap

Module Core Algorithms Status
👑 N-Queens Backtracking, Branch & Bound, Bitmask ✅ Completed
🧩 Sudoku Backtracking Solver, Matrix Grid Constraint Check ✅ Completed
🔍 Word Search Trie, DFS backtracking ⏳ Planned
🗺️ Pathfinding BFS, DFS, A*, Dijkstra ⏳ Planned
⚡ LRU Cache Doubly Linked List + HashMap ⏳ Planned
🌲 BST Visualizer Binary Search Tree rotations, tree traversals ⏳ Planned

🏗️ Modular Architecture

AlgoPlay is structured as a feature-isolated, clean-architecture multi-module project:

AlgoPlay
├── app                 # App Launcher, Hilt Application class, Global Navigation
├── core                # Shared Design System, Material 3 theme, components
├── feature-n-queen     # N-Queens solvers, interactive board, comparison UI
└── feature-sudoku      # Sudoku generator, backtracking auto-solver, validation

Module Design Philosophy:

  • Clean Architecture: Clear separation of UI (Presentation), Use Cases (Domain), and Algorithms/State (Data).
  • Isolation: High cohesion and loose coupling; feature modules communicate via decoupled navigation contracts.
  • Recomposability: Highly reusable UI tokens and layouts.

📱 Tech Stack & Tooling

  • Language: 100% Kotlin (aligned on Java 17 toolchains)
  • UI Framework: Jetpack Compose (Material 3)
  • Architecture: MVVM + Clean Architecture
  • Dependency Injection: Hilt
  • Asynchronous Flow: Kotlin Coroutines + StateFlow
  • CI/CD Build System: GitHub Actions + Gradle properties versioning

🤝 Contributions

Suggestions, bug reports, and pull requests are always welcome! Feel free to open issues or submit improvements to further expand the algorithms suite.


📄 License

This project is licensed under the MIT License.

About

From LeetCode to Android — Interactive algorithm-powered apps built with Kotlin, Jetpack Compose, and Clean Architecture.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages