import Link from "next/link"; import { getStats } from "@/lib/api"; // Fetch fresh stats on each request export const dynamic = "force-dynamic"; export default async function HomePage() { let stats; try { stats = await getStats(); } catch { stats = null; } return (
Curated collection of coding interview questions with detailed explanations, common pitfalls, and optimal solutions.
Browse QuestionsArrays, Trees, Graphs, Dynamic Programming, and more
Two Pointers, Sliding Window, BFS, DFS, Backtracking, and more