Two Sum
The cleanest warm-up for complements, maps, and one-pass reasoning.
Common OA opener across product and service companies.
This is not a giant dump of random questions. It is the shortlist I would actually use if I had to prepare again for 2026 hiring cycles in India: high-yield patterns, interview-friendly sequencing, and direct links to the internal write-ups on this site.
Start with foundational items, then move to the high-priority mediums, then revisit the capstones in timed rounds. Every card below pushes you first to the internal explanation, then to the original problem for practice.
No fake locked dashboards, no auth wall, no half-baked online judge. The first version is about useful content, clear progression, and a recurring traffic base we can grow into progress tracking later.
Join the list if you want updates when I add more company-focused tracks, revision modes, and progress-saving features to the sheet.
These are the fastest wins for online assessments. Nail lookup trade-offs, prefix-style thinking, and interval manipulation first.
The cleanest warm-up for complements, maps, and one-pass reasoning.
Common OA opener across product and service companies.
Teaches you to maintain the best state so far without nested loops.
Very common in internship screens and early phone rounds.
Simple on purpose. Interviewers use it to test baseline coding speed.
Frequent warm-up or OA filler question.
Forces you to reason about state carried from both directions.
Popular when interviewers want more than brute force arrays.
A classic recurrence that shows up in many disguised DP problems.
A staple across placements and mid-level interviews.
Great for frequency counting plus output-size-aware optimization.
Common when interviewers want hash map plus heap alternatives.
Intervals are everywhere in placements. This is the base pattern.
Shows up often in Amazon-style interview prep lists.
Builds on merge intervals and checks implementation discipline.
Good follow-up after interval basics.
This section is high-yield for OAs because it rewards pattern recognition more than heavy theory.
Tests edge-case handling and pointer movement on noisy input.
Very common in short screening rounds.
Short problem that reveals code clarity and string handling.
Frequent easy string question.
Useful for grouping and normalization problems.
Common OA and interview favorite.
Probably the most important sliding-window problem to internalize.
Appears everywhere from internships to experienced hiring.
Teaches when a slightly stale invariant is still valid and efficient.
Excellent differentiator question in placements.
Builds confidence with character counts and rolling comparisons.
Frequently appears in OA practice sheets.
The capstone sliding-window problem for interview prep.
A strong signal question in top-company rounds.
Sharpens elimination reasoning instead of brute-force pair checks.
Common in interview prep sheets due to elegant reasoning.
Placements love linked lists because they expose pointer confidence fast. If this feels slow, practice until it feels mechanical.
The most reusable linked-list primitive by far.
One of the most frequently asked linked-list questions.
Introduces Floyd cycle detection, which keeps showing up later.
Classic interview question across levels.
A good test of clean pointer manipulation and base cases.
Common easy-to-medium linked-list question.
A compact way to practice offsets and dummy heads.
Popular because the one-pass solution is memorable.
Checks if you can combine arithmetic state with list traversal.
Very common question bank entry.
A great capstone because it combines three linked-list patterns.
Strong medium question for campus interviews.
These questions reward composure. Interviewers often use them to see if you can model state transitions clearly.
Basic stack fluency. Solve this fast and flawlessly.
Very common opening stack question.
Shows how to augment a basic data structure with cached answers.
Frequent object-design style interview question.
Simple mechanics, but great for testing disciplined implementation.
Common in OAs and short interviews.
This unlocks a whole class of next-greater-element problems.
A very popular monotonic stack entry problem.
Good for explaining trade-offs and amortized complexity.
Often used when interviewers want a quick design question.
Binary search is not just one problem. The real skill is spotting monotonicity and choosing the right invariant.
The baseline template you should be able to write from memory.
Basic screening question.
Forces you to reason about which side is trustworthy.
Very common medium binary-search question.
Builds intuition for narrowing toward the unsorted edge.
Often paired with rotated-array search questions.
Teaches boundary-search variants cleanly.
Useful OA pattern for range queries.
This is the bridge from array search to optimization problems.
A canonical “search on answer” interview problem.
Tree questions make up a huge chunk of interview prep. Focus on traversal templates first, then BST-specific reasoning.
The simplest tree recurrence and a perfect warm-up.
Common first tree question.
Tiny problem, but it tests recursion confidence.
Frequently used as a quick tree sanity check.
Helpful for building structural-recursion discipline.
Common early-stage tree question.
This is the core level-processing template.
A frequent BFS tree question.
A foundational BST correctness problem.
Popular because naive local checks fail.
A clean example of exploiting BST ordering.
Frequent BST follow-up question.
Combines traversal order with output-shaping.
Regular medium tree interview question.
Many placements avoid very heavy graph theory and instead focus on traversal fluency. These are the practical graph questions to master.
Simple traversal base case practice for matrix problems.
Common matrix traversal warm-up.
One of the most important graph/grid patterns in interviews.
Extremely common across interview lists.
The best starting point for time-layer BFS reasoning.
Very common grid BFS problem.
Introduces graph copying and cycle-safe traversal.
Popular medium graph question.
A topological-sort staple for interviews.
Very common in graph-heavy company lists.
A strong capstone for thinking from destination to source.
Appears in strong-medium to hard interview rounds.
This final section is where a lot of selection happens. Strong candidates turn these from scary topics into repeatable templates.
A clean intro to top-k heap problems.
Common heap question in OAs.
A core heap pattern that shows up in many data-stream problems.
Very common top-k interview question.
Great for learning why the locally optimal choice is globally safe.
A classic greedy interview problem.
The easiest way to internalize DP state transitions.
Standard DP warm-up.
A must-know recurrence for linear DP.
One of the most assigned DP questions.
A useful unbounded-choice DP template.
Frequent medium DP interview problem.
Blends string reasoning with DP states.
A common follow-up after string practice.
Important for recognizing extend-or-restart style subsequence DP.
Well-known DP benchmark problem.
A foundational table DP that teaches matching-vs-skipping decisions.
Very common in placements and theory-heavy interviews.
If you want company-wise lists, revision sprints, and saved progress when they ship, drop your email here. I’ll use it to prioritize what to build next.