Placements 2026

DSA Sheet 2026 for internships, placements, and calm revision.

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.

54curated problems
8pattern sections
0 fluffjust the repeatable shortlist

How to use this sheet

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.

What is deliberately not in MVP 1

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 build

Want the next batch and the future progress tracker?

Join the list if you want updates when I add more company-focused tracks, revision modes, and progress-saving features to the sheet.

Progress tracking and saved checklists are coming later. This list gets the first updates.

Pattern track

Arrays and Hashing

These are the fastest wins for online assessments. Nail lookup trade-offs, prefix-style thinking, and interval manipulation first.

Back to top
#1

Two Sum

Easy
Hash map lookupFoundationalMust do

The cleanest warm-up for complements, maps, and one-pass reasoning.

Common OA opener across product and service companies.

ArrayHash Table
#121

Best Time to Buy and Sell Stock

Easy
Running minimumFoundationalMust do

Teaches you to maintain the best state so far without nested loops.

Very common in internship screens and early phone rounds.

ArrayDynamic Programming
#217

Contains Duplicate

Easy
Set membershipFoundational

Simple on purpose. Interviewers use it to test baseline coding speed.

Frequent warm-up or OA filler question.

ArrayHash TableSorting
#238

Product of Array Except Self

Medium
Prefix and suffix productsHighMust do

Forces you to reason about state carried from both directions.

Popular when interviewers want more than brute force arrays.

ArrayPrefix Sum
#53

Maximum Subarray

Medium
Kadane’s algorithmHighMust do

A classic recurrence that shows up in many disguised DP problems.

A staple across placements and mid-level interviews.

ArrayDynamic ProgrammingDivide and Conquer
#347

Top K Frequent Elements

Medium
Bucket sort on frequenciesHigh

Great for frequency counting plus output-size-aware optimization.

Common when interviewers want hash map plus heap alternatives.

ArrayHash TableBucket SortHeap
#56

Merge Intervals

Medium
Sort and mergeHighMust do

Intervals are everywhere in placements. This is the base pattern.

Shows up often in Amazon-style interview prep lists.

ArraySortingIntervals
#57

Insert Interval

Medium
Intervals with splice logicHigh

Builds on merge intervals and checks implementation discipline.

Good follow-up after interval basics.

ArrayIntervals
Pattern track

Strings and Sliding Window

This section is high-yield for OAs because it rewards pattern recognition more than heavy theory.

Back to top
#125

Valid Palindrome

Easy
Two pointersFoundational

Tests edge-case handling and pointer movement on noisy input.

Very common in short screening rounds.

Two PointersString
#14

Longest Common Prefix

Easy
Horizontal scanningFoundational

Short problem that reveals code clarity and string handling.

Frequent easy string question.

StringTrie
#49

Group Anagrams

Medium
Canonical signature mappingHighMust do

Useful for grouping and normalization problems.

Common OA and interview favorite.

ArrayHash TableStringSorting
#3

Longest Substring Without Repeating Characters

Medium
Dynamic sliding windowFoundationalMust do

Probably the most important sliding-window problem to internalize.

Appears everywhere from internships to experienced hiring.

Hash TableStringSliding Window
#424

Longest Repeating Character Replacement

Medium
Window with best-frequency invariantHigh

Teaches when a slightly stale invariant is still valid and efficient.

Excellent differentiator question in placements.

Hash TableStringSliding Window
#567

Permutation in String

Medium
Fixed-size frequency windowHigh

Builds confidence with character counts and rolling comparisons.

Frequently appears in OA practice sheets.

Hash TableTwo PointersStringSliding Window
#76

Minimum Window Substring

Hard
Variable-size minimum valid windowCapstoneMust do

The capstone sliding-window problem for interview prep.

A strong signal question in top-company rounds.

Hash TableStringSliding Window
#11

Container With Most Water

Medium
Greedy two pointersHigh

Sharpens elimination reasoning instead of brute-force pair checks.

Common in interview prep sheets due to elegant reasoning.

ArrayTwo PointersGreedy
Pattern track

Linked List

Placements love linked lists because they expose pointer confidence fast. If this feels slow, practice until it feels mechanical.

Back to top
#206

Reverse Linked List

Easy
Pointer reversalFoundationalMust do

The most reusable linked-list primitive by far.

One of the most frequently asked linked-list questions.

Linked ListRecursion
#141

Linked List Cycle

Easy
Fast and slow pointersFoundationalMust do

Introduces Floyd cycle detection, which keeps showing up later.

Classic interview question across levels.

Hash TableLinked ListTwo Pointers
#21

Merge Two Sorted Lists

Easy
Dummy node mergeFoundational

A good test of clean pointer manipulation and base cases.

Common easy-to-medium linked-list question.

Linked ListRecursion
#19

Remove Nth Node From End of List

Medium
Gap two-pointer techniqueHigh

A compact way to practice offsets and dummy heads.

Popular because the one-pass solution is memorable.

Linked ListTwo Pointers
#2

Add Two Numbers

Medium
Digit-wise carry simulationHigh

Checks if you can combine arithmetic state with list traversal.

Very common question bank entry.

Linked ListMathRecursion
#143

Reorder List

Medium
Split, reverse, weaveCapstoneMust do

A great capstone because it combines three linked-list patterns.

Strong medium question for campus interviews.

Linked ListTwo PointersStackRecursion
Pattern track

Stack and Queue

These questions reward composure. Interviewers often use them to see if you can model state transitions clearly.

Back to top
#20

Valid Parentheses

Easy
Matching stackFoundational

Basic stack fluency. Solve this fast and flawlessly.

Very common opening stack question.

StringStack
#155

Min Stack

Medium
Auxiliary state stackHigh

Shows how to augment a basic data structure with cached answers.

Frequent object-design style interview question.

StackDesign
#150

Evaluate Reverse Polish Notation

Medium
Operand stack evaluationFoundational

Simple mechanics, but great for testing disciplined implementation.

Common in OAs and short interviews.

ArrayMathStack
#739

Daily Temperatures

Medium
Monotonic stackHighMust do

This unlocks a whole class of next-greater-element problems.

A very popular monotonic stack entry problem.

ArrayStackMonotonic Stack
#232

Implement Queue using Stacks

Easy
Amortized two-stack queueHigh

Good for explaining trade-offs and amortized complexity.

Often used when interviewers want a quick design question.

StackDesignQueue
Pattern track

Trees and BST

Tree questions make up a huge chunk of interview prep. Focus on traversal templates first, then BST-specific reasoning.

Back to top
#104

Maximum Depth of Binary Tree

Easy
DFS height recursionFoundational

The simplest tree recurrence and a perfect warm-up.

Common first tree question.

TreeDepth-First SearchBreadth-First SearchBinary Tree
#226

Invert Binary Tree

Easy
Recursive swapFoundational

Tiny problem, but it tests recursion confidence.

Frequently used as a quick tree sanity check.

TreeDepth-First SearchBreadth-First SearchBinary Tree
#100

Same Tree

Easy
Parallel DFS comparisonFoundational

Helpful for building structural-recursion discipline.

Common early-stage tree question.

TreeDepth-First SearchBreadth-First SearchBinary Tree
#102

Binary Tree Level Order Traversal

Medium
Queue-based BFSHighMust do

This is the core level-processing template.

A frequent BFS tree question.

TreeBreadth-First SearchBinary Tree
#98

Validate Binary Search Tree

Medium
Range validationHighMust do

A foundational BST correctness problem.

Popular because naive local checks fail.

TreeDepth-First SearchBinary Search TreeBinary Tree
#230

Kth Smallest Element in a BST

Medium
Inorder traversalHigh

A clean example of exploiting BST ordering.

Frequent BST follow-up question.

TreeDepth-First SearchBinary Search TreeBinary Tree
#199

Binary Tree Right Side View

Medium
Right-first DFS or level BFSHigh

Combines traversal order with output-shaping.

Regular medium tree interview question.

TreeDepth-First SearchBreadth-First SearchBinary Tree
Pattern track

Graphs and Grid Traversal

Many placements avoid very heavy graph theory and instead focus on traversal fluency. These are the practical graph questions to master.

Back to top
#733

Flood Fill

Easy
Grid DFSFoundational

Simple traversal base case practice for matrix problems.

Common matrix traversal warm-up.

ArrayDepth-First SearchBreadth-First SearchMatrix
#200

Number of Islands

Medium
Connected component countingHighMust do

One of the most important graph/grid patterns in interviews.

Extremely common across interview lists.

ArrayDepth-First SearchBreadth-First SearchUnion FindMatrix
#994

Rotting Oranges

Medium
Multi-source BFSHighMust do

The best starting point for time-layer BFS reasoning.

Very common grid BFS problem.

ArrayBreadth-First SearchMatrix
#133

Clone Graph

Medium
Graph DFS with visited mapHigh

Introduces graph copying and cycle-safe traversal.

Popular medium graph question.

Hash TableDepth-First SearchBreadth-First SearchGraph
#207

Course Schedule

Medium
Cycle detection in directed graphCapstoneMust do

A topological-sort staple for interviews.

Very common in graph-heavy company lists.

Depth-First SearchBreadth-First SearchGraphTopological Sort
#417

Pacific Atlantic Water Flow

Medium
Reverse multi-source DFSCapstone

A strong capstone for thinking from destination to source.

Appears in strong-medium to hard interview rounds.

ArrayDepth-First SearchBreadth-First SearchMatrix
Pattern track

Heaps, Greedy, and DP

This final section is where a lot of selection happens. Strong candidates turn these from scary topics into repeatable templates.

Back to top
#973

K Closest Points to Origin

Medium
Heap on distanceHigh

A clean intro to top-k heap problems.

Common heap question in OAs.

ArrayMathDivide and ConquerGeometrySortingHeap
#215

Kth Largest Element in an Array

Medium
Min-heap of size kHigh

A core heap pattern that shows up in many data-stream problems.

Very common top-k interview question.

ArrayDivide and ConquerSortingHeapQuickselect
#435

Non-overlapping Intervals

Medium
Greedy by finishing timeHigh

Great for learning why the locally optimal choice is globally safe.

A classic greedy interview problem.

ArrayDynamic ProgrammingGreedySortingIntervals
#70

Climbing Stairs

Easy
1D DP recurrenceFoundational

The easiest way to internalize DP state transitions.

Standard DP warm-up.

MathDynamic ProgrammingMemoization
#198

House Robber

Medium
Take or skip DPFoundationalMust do

A must-know recurrence for linear DP.

One of the most assigned DP questions.

ArrayDynamic Programming
#322

Coin Change

Medium
Minimum coins DPHighMust do

A useful unbounded-choice DP template.

Frequent medium DP interview problem.

ArrayDynamic ProgrammingBreadth-First Search
#139

Word Break

Medium
Prefix DP with dictionary lookupHigh

Blends string reasoning with DP states.

A common follow-up after string practice.

Hash TableStringDynamic ProgrammingTrieMemoization
#300

Longest Increasing Subsequence

Medium
Quadratic DP baselineCapstone

Important for recognizing extend-or-restart style subsequence DP.

Well-known DP benchmark problem.

ArrayBinary SearchDynamic Programming
#1143

Longest Common Subsequence

Medium
2D sequence DPCapstoneMust do

A foundational table DP that teaches matching-vs-skipping decisions.

Very common in placements and theory-heavy interviews.

StringDynamic Programming
Join the build

Build this sheet with me

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.

Progress tracking and saved checklists are coming later. This list gets the first updates.