Skip to content
We areTOP 1%
DSA · Intermediate · Pattern 10 of 10

Mixed Practice

12 problems drawn from every pattern in this level. The pattern is not labelled: identifying it is part of the exercise.
Your progress0%
1st Visit
0/12
2nd Visit
0/12
Revise
0/12

About this set

This set closes the Intermediate level with twelve problems drawn from its patterns, including sliding windows, binary search on the answer, monotonic stacks, binary trees, heaps, backtracking, greedy algorithms, graph traversal and 1-D dynamic programming. The pattern label is deliberately hidden, because recognising the technique is often harder than implementing it.

For each problem, read the constraints, decide which pattern fits and why, and estimate the complexity before writing code. Some problems admit more than one approach, and comparing them is part of the exercise. If a first attempt stalls, return to the relevant pattern description and check which signals you missed.

Problems

Mixed Practice questions
#ProblemPlatformDifficultyOpen1st1st Visit2nd2nd VisitRevRevise
1White-Black Balanced SubtreesCodeforcesMedium 1300Solve White-Black Balanced Subtrees on Codeforces (opens in a new tab)
2Binary Tree Right Side ViewLeetCodeMedium Solve Binary Tree Right Side View on LeetCode (opens in a new tab)
3Hand of StraightsLeetCodeMedium Solve Hand of Straights on LeetCode (opens in a new tab)
4Word SearchLeetCodeMedium Solve Word Search on LeetCode (opens in a new tab)
5Path Sum IIILeetCodeMedium Solve Path Sum III on LeetCode (opens in a new tab)
6VacationsCodeforcesMedium 1400Solve Vacations on Codeforces (opens in a new tab)
7RationalLeeCodeforcesMedium 1400Solve RationalLee on Codeforces (opens in a new tab)
8Inaccurate Subsequence SearchCodeforcesMedium 1400Solve Inaccurate Subsequence Search on Codeforces (opens in a new tab)
9Schedule ManagementCodeforcesMedium 1400Solve Schedule Management on Codeforces (opens in a new tab)
10Epic TransformationCodeforcesMedium 1400Solve Epic Transformation on Codeforces (opens in a new tab)
11Cyclic ComponentsCodeforcesMedium 1500Solve Cyclic Components on Codeforces (opens in a new tab)
12Trapping Rain WaterLeetCodeHard Solve Trapping Rain Water on LeetCode (opens in a new tab)

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account