A full-stack AI powered coding practice platform , built using Next.js and Supabase, featuring efficient DSA-based search, and AI-like code evaluation.
- 🔍 Fast problem search using Trie (Prefix Tree)
- 🏆 Leaderboard ranking using Max Heap (Priority Queue)
- will add🧠 AI-style code evaluation using rule-based static analysis
- 📊 Problems stored in PostgreSQL (Supabase)
- ⚡ Modern full-stack architecture with Next.js App Router
- Frontend: Next.js (App Router), React, Tailwind CSS
- Backend: Next.js API Routes
- Database: Supabase (PostgreSQL)
- DSA Used: Trie, Heap
- AI Layer: Rule-based evaluator (pluggable for LLMs)
Used for prefix-based search of problem titles, allowing efficient search in O(L) time.
Used to implement leaderboard ranking efficiently, avoiding full sorting on every update.
- Clone the repository
git clone <repo-url>
cd mini-leetcode
npm install
npm run dev