SDE1 Interview Questions

Published July 22, 2026 · Updated July 22, 2026

55 verified SDE1 interview questions from Google, Microsoft, Flipkart, Swiggy, Meta and more. Covers all experience levels.

55 questions
22 companies
2875 upvotes

Interview Signals for SDE1 Roles

Companies Asking
TCS16q
Google3q
Microsoft3q
Flipkart3q
Swiggy3q
Meta3q
Most Asked Topics
domain17x
arrays13x
behavioral5x
trees4x
graphs3x
By Experience
1-3 years14q

Top Questions by Upvotes

Apple Medium Technical round SwiftiOS

Explain how ARC (Automatic Reference Counting) works in Swift/Objective-C. What is a retain cycle and how do you break one? Give an example using a delegate pattern and explain when to use weak vs unowned references.

↑ 91 upvotes · 34 engineers asked this · SDE1
Meta Medium HR round

Tell me about a time you had to make a decision with incomplete data. Meta values moving fast — how did you balance the need for speed against the risk of being wrong? What would you do differently today?

↑ 87 upvotes · 33 engineers asked this · SDE1
TCS Easy Technical round 1-3 years

Implement a function that checks if a string of brackets is valid. Brackets: (), [], {}. Must handle nested brackets.

↑ 84 upvotes · 32 engineers asked this · SDE1
Flipkart Easy Screening round

Given a stock price array, find the maximum profit you can make with at most two buy-sell transactions. Discuss the DP state and how it generalizes to k transactions.

↑ 78 upvotes · 29 engineers asked this · SDE1
Swiggy Medium Technical round JavaPython

Given a list of delivery time windows for N restaurants, find the maximum number of restaurants whose windows overlap at any point in time. Explain the sweep-line approach, time complexity, and how this maps to capacity planning for Swiggy's logistics team.

↑ 78 upvotes · 29 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

What is the difference between useEffect with no dependency array, empty array, and with dependencies?

↑ 78 upvotes · 26 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

What is the difference between controlled and uncontrolled components? When would you choose uncontrolled?

↑ 74 upvotes · 22 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

Explain the difference between a use case diagram and a user story. When would you use each?

↑ 70 upvotes · 48 engineers asked this · SDE1
Microsoft Easy Screening round

Given a binary search tree, find the kth smallest element. Optimize for the case where this function is called many times on a static tree.

↑ 67 upvotes · 41 engineers asked this · SDE1
Google Medium Technical round JavaPythonC++

Given a list of intervals, merge all overlapping intervals and return the result. Explain the sort-then-scan approach and the edge cases (touching intervals, single interval, all disjoint).

↑ 67 upvotes · 43 engineers asked this · SDE1
Flipkart Medium Technical round Java

Implement a LRU (Least Recently Used) cache with O(1) get and put operations. Explain the HashMap + doubly linked list approach and why a simple array or single HashMap is insufficient.

↑ 67 upvotes · 45 engineers asked this · SDE1
Infosys Easy Screening round Java

What is multithreading in Java? Explain synchronised keyword, wait/notify, and the difference between Thread and Runnable. Write a simple producer-consumer implementation using BlockingQueue.

↑ 64 upvotes · 43 engineers asked this · SDE1

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

SDE1 by company

TCS SDE1 questions

Frequently asked questions

What do SDE1 interviews cover?
Common topics: domain, arrays, behavioral, trees, graphs.
Which companies hire SDE1s?
Companies with reported questions: TCS, Google, Microsoft, Flipkart, Swiggy.