CS-Reference
Dive into computer science, programming, algorithms, data structures, math, tech, and interview prep. Join this exciting journey!
LeetCode Hard 2290. Minimum Obstacle Removal to Reach Corner
Concept - Breadth-First-Seach. LeetCode 3243. Shortest Distance After Road Addition Queries I.
LeetCode 2924. Find Champion II and Basics of Graph Terminology for Beginners
LeetCode Hard. 773. Sliding Puzzle. Much Faster Solution
LeetCode 1975. Maximum Matrix Sum. How to make the observation
LeetCode Medium. 1861. Rotating the Box
LeetCode Medium 1072. Flip Columns For Maximum Number of Equal Rows. Very nice medium problem
LeetCode Medium. 2257. Count Unguarded Cells in the Grid. Two solutions in depth
LeetCode Medium. 2461 Maximum Sum of Distinct Subarrays With Length K. Basics of Sliding window.
LeetCode Hard. 862. Shortest Subarray with Sum at Least K. In-depth explanation.
1574. Shortest Subarray to be Removed to Make Array Sorted. Intuitive Proof
LeetCode 2064. Minimized Maximum of Products Distributed to Any Store. Binary search pattern
LeetCode 2070. Most Beautiful Item for Each Query. 2 Solutions
LeetCode 1589 Maximum Sum Obtained of Any Permutation. Prefix sum over Frequency array.
LeetCode 1090. Largest Values From Labels. Greedy. Beginner-friendly medium
LeetCode 2601. Prime Subtraction Operation. A perspective different from the official editorial.
LeetCode. 1686. Stone Game VI. Arriving at the optimal strategy with Exchange arguments.
Refact.ai Match 1 (Codeforces Round 985). Problem A and B explanation.
Solving Daily LeetCode Together. 2501. Longest Square Streak in an Array
LeetCode 1310 XOR Queries of a Subarray
LeetCode 875. Koko Eating Bananas
Euclid's Algorithm - You need to know this.
LeetCode 1894 Find the Student That Will Replace The Chalk
LeetCode. 2181. Merge Nodes in Between Zeros
2270. Number of Ways to Split Array. LeetCode
1509. Minimum Difference Between Largest and Smallest Value in Three Moves. LeetCode
Minimized Maximum of Products Distributed to Any Store - LeetCo