A comprehensive collection of code solutions for LeetCode and Codeforces problems, designed to enhance your competitive programming skills and help you tackle coding challenges with confidence.
-
Updated
May 6, 2024 - Python
A comprehensive collection of code solutions for LeetCode and Codeforces problems, designed to enhance your competitive programming skills and help you tackle coding challenges with confidence.
Master stack data structure — Monotonic stack, NGE, stock span, expression evaluation, min-stack. 30+ interview problems with O(n) solutions.
Competitive programming problem designed to expose failure modes in frontier LLMs. Features a 3-layer trap invalidating greedy, O(N²) DP, and prefix-sum optimizations. Correct O(N log V) solution via monotonic stack + DP. Built for Turing's Python TopCoder Problemsetter Assessment.
Repo contain organized solutions to LeetCode problems in languages like Python or C++. It’s a useful resource for learning algorithms, coding practice, and interview preparation.
Solutions to Leetcode questions
To associate your repository with the monotonic-stack topic, visit your repo's landing page and select "manage topics."