Placement Prep · Product companies

Amazon SDE intern & new-grad prep: patterns, not problem counts

Product-company interviews, Amazon’s included, test whether you can recognise a pattern, explain a solution and code it cleanly while someone watches. Solving 800 problems without the patterns rarely gets you there. This guide maps the patterns that typically appear in SDE intern and new-grad loops to free labs, gives a 6-week plan, and ends with a mock-interview checklist.

Free interactive DSA labs · see each pattern run before you code it

How the process typically runs

Details vary by role, location and year, so rely on what your recruiter tells you. Commonly reported stages for SDE intern and new-grad roles are:

The pattern map: from problem shape to lab

When you read a problem, ask “what shape is this?” before “how do I code it?”. These patterns cover a large share of what new-grad interviews ask.

PatternSignal in the problemPractise it
Hash map“Have I seen this before?”, counts, pairsHashing
Two pointersSorted array, pairs, in-place rearrangingTwo pointers
Sliding windowLongest/shortest contiguous sub-array or substringSliding window
Binary searchSorted data, or “minimum X such that”Binary search
Monotonic stackNext greater/smaller element, spans, histogramsMonotonic stack
Linked listsReverse, merge, detect a cycle, find the middleLinked list
TreesTraversals, depth, lowest common ancestor, BST checksBinary tree, Recursion
Heap / top-kK largest, K closest, merge K sorted, schedulingHeap, Quickselect
IntervalsOverlapping meetings, merging rangesMerge intervals
Graph BFS/DFSIslands, shortest steps, connected parts of a gridBFS/DFS, Grid BFS
DependenciesPrerequisites, build order, detect impossible ordersTopo sort
ConnectivityMerge accounts, redundant connection, groupsUnion-Find
BacktrackingGenerate all subsets, permutations, combinationsBacktracking, N-Queens
Dynamic programmingCount ways, min cost, best subsequenceCoin change, DP table
Design + DSABuild a cache or a small data structure with O(1) operationsLRU cache, Trie

The 6-week plan

About 3 hours a day. The rule for every week: learn the pattern in the lab first, then solve 3 to 5 problems that use it, re-solving one from memory a day later.

WeekPatternsAlso doLabs
Week 1Complexity, hash maps, two pointers, sliding windowPick your interview language; learn its standard library coldBig-O, Hashing, Sliding window
Week 2Binary search, sorting, monotonic stack, intervalsWrite 3 behavioural storiesBinary search, Monotonic stack, Intervals
Week 3Linked lists, recursion, treesFirst mock interview with a friendLinked list, Binary tree
Week 4Heaps, graphs (BFS, DFS, topological sort, Union-Find)Timed online-assessment practice: 2 problems, fixed timeHeap, BFS/DFS, Topo sort
Week 5Backtracking and dynamic programmingTwo more behavioural stories; second mockBacktracking, Coin change, DP table
Week 6Mixed review; design-flavoured problems like an LRU cacheTwo full mocks; revise your mistake logLRU cache, Readiness check

Practise this now

Mock-interview checklist

Run every practice problem through these steps, out loud. Interviewers typically evaluate how you think, not only whether the code passes.

  1. Clarify. Ask about input size, duplicates, negatives, empty input and the expected output format.
  2. Work an example by hand, including one edge case.
  3. State a brute force and its time and space complexity.
  4. Name the pattern and explain how it improves the brute force.
  5. Code it cleanly with clear variable names, talking as you go.
  6. Test it by walking your example through the code line by line.
  7. Finish with complexity and one possible follow-up improvement.

For behavioural rounds, prepare 6 to 8 true stories in a Situation, Task, Action, Result shape, each with a concrete result and what you learned.

Frequently asked questions

What is asked in the Amazon SDE online assessment?

It has commonly included a couple of coding problems in a time limit, along with a work-style or behavioural questionnaire. The exact format varies by role and year, so follow the instructions in your assessment invitation.

How many LeetCode problems do I need for Amazon SDE?

There is no magic number. Candidates who learn the 12 to 15 core patterns well and can explain their solutions out loud tend to do better than those who solve many problems without recognising the underlying pattern.

Which DSA topics are most important for SDE intern and new-grad interviews?

Arrays and hash maps, two pointers, sliding window, binary search, linked lists, trees, heaps, graph traversal, and some dynamic programming and backtracking. Design-flavoured problems such as an LRU cache also appear.

How should I prepare for behavioural questions?

Write 6 to 8 true stories from your projects, internships and college work in a Situation, Task, Action, Result shape. Amazon publishes its Leadership Principles, so map each story to the principles it demonstrates.

How long does it take to prepare for a product-company SDE interview?

With one programming language already comfortable, around six weeks of daily pattern practice plus regular mock interviews is a realistic plan. Starting from scratch, add a few weeks of fundamentals first.

Is BitBootcamp affiliated with Amazon?

No. BitBootcamp is an independent learning platform. The company name is used only to describe the interviews this guide helps you prepare for.

See how interview-ready you are today.

Take the 2-minute readiness check, then follow the placement path from DSA core to system design.

All prep guides TCS NQT Infosys Wipro · Accenture · Cognizant DSA in Hindi

BitBootcamp is an independent learning platform and is not affiliated with, endorsed by, or partnered with any company named on this page. Company names are used only to describe the recruitment drives students prepare for. Exam patterns change between seasons, so always confirm the current format in the official notice for your drive.