Skip to content
We areTOP 1%
DSA · Beginner · Pattern 11 of 11

Mixed Practice

14 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/14
2nd Visit
0/14
Revise
0/14

About this set

This set closes the Beginner level with fourteen problems drawn from all of its patterns: arrays and hashing, two pointers, strings, matrices, prefix sums, binary search, recursion, linked lists, stacks and queues, and math and implementation. The pattern label is deliberately hidden. In interviews and contests nobody tells you which technique applies, so the real skill is recognising it from the statement and the constraints.

Before writing code, read each problem, note the input size, and name the pattern you would use and the complexity you expect. If you are stuck after a fair attempt, revisit the pattern descriptions in this level and compare their signals with the problem.

Problems

Mixed Practice questions
#ProblemPlatformDifficultyOpen1st1st Visit2nd2nd VisitRevRevise
1Stones on the TableCodeforcesEasy 800Solve Stones on the Table on Codeforces (opens in a new tab)
2Best Time to Buy and Sell StockLeetCodeEasy Solve Best Time to Buy and Sell Stock on LeetCode (opens in a new tab)
3Kefa and First StepsCodeforcesEasy 900Solve Kefa and First Steps on Codeforces (opens in a new tab)
4Lineland MailCodeforcesEasy 900Solve Lineland Mail on Codeforces (opens in a new tab)
5Young PhysicistCodeforcesEasy 1000Solve Young Physicist on Codeforces (opens in a new tab)
6Xenia and RingroadCodeforcesEasy 1000Solve Xenia and Ringroad on Codeforces (opens in a new tab)
7Traffic LightCodeforcesEasy 1000Solve Traffic Light on Codeforces (opens in a new tab)
8FenceCodeforcesEasy 1100Solve Fence on Codeforces (opens in a new tab)
9Vanya and LanternsCodeforcesEasy 1200Solve Vanya and Lanterns on Codeforces (opens in a new tab)
10Hexadecimal's NumbersCodeforcesEasy 1200Solve Hexadecimal's Numbers on Codeforces (opens in a new tab)
11Search a 2D MatrixLeetCodeMedium Solve Search a 2D Matrix on LeetCode (opens in a new tab)
12Rotate ArrayLeetCodeMedium Solve Rotate Array on LeetCode (opens in a new tab)
13Add Two NumbersLeetCodeMedium Solve Add Two Numbers on LeetCode (opens in a new tab)
14Find the Duplicate NumberLeetCodeMedium Solve Find the Duplicate Number 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