Sde Interview Questions

16,590 sde interview questions shared by candidates

I got rejected from first round that was happened through external interviewer. For me its interview vector. Trust me it was so pathetic in person. the person asked me question from document given to him from his firm and whatever I am answering he is referring to docs and if I try to change words or might be deflected from exact answer he just like cannot digest as he dont know anything technical. After that he asked me for live coding so instead giving me question (leetcode) he gave me solution and he then told me we use to refer docs which is only helpful if u understand terms. I was able to solve it but not with best complexity so he refer the solution and it didnt match up (from geeksforgeeks) so he said its not properly solve but its okay, then that time I knew its stupid time wasting I'm not getting pass to this as he will not let me as I was not answering to the docs he was carrying with him
May 23, 2022

I got rejected from first round that was happened through external interviewer. For me its interview vector. Trust me it was so pathetic in person. the person asked me question from document given to him from his firm and whatever I am answering he is referring to docs and if I try to change words or might be deflected from exact answer he just like cannot digest as he dont know anything technical. After that he asked me for live coding so instead giving me question (leetcode) he gave me solution and he then told me we use to refer docs which is only helpful if u understand terms. I was able to solve it but not with best complexity so he refer the solution and it didnt match up (from geeksforgeeks) so he said its not properly solve but its okay, then that time I knew its stupid time wasting I'm not getting pass to this as he will not let me as I was not answering to the docs he was carrying with him

Round 0 - Pre-Screening (15 mins) Which data-structure would you use to implement an undo function in a text-editor? Ans: Stack. Which data-structure would you use for forward and backward browser navigation? Ans: 2 stacks, one to track forward and one for backward. To build a search feature for a ecommerce platform efficiently. Ans: For simple search using SQL, LIKE operator. But not efficient for large datasets. Indexing and search optimized DBs for bit more complex queries that can handle full-text search, for best results we can use cloud search engines like Elasticsearch (supports advanced search features like fuzzy matching). When a new product is launched and millions of users are searching that new product in the same ecommerce platform, in what ways can we reduce the load on the system? Ans: Use in memory cache (e.g. Redis) to reduce database load, database sharding to distribute the load across multiple nodes, load balancer to distribute traffic evenly among the servers and appropriate scaling, and usage of Content Delivery Network (CDN) to cache static content like photos, HTML, CSS, JS. Round 1 - Live Coding/DSA (60 mins) I was given 2 LC problems to be solved in 1 hour. https://leetcode.com/problems/minimum-division-operations-to-make-array-non-decreasing/ https://leetcode.com/problems/apply-operations-to-make-all-array-elements-equal-to-zero/
avatar

Software Development Engineer (SDE) 2

Interviewed at Anakin

3.4
Apr 14, 2025

Round 0 - Pre-Screening (15 mins) Which data-structure would you use to implement an undo function in a text-editor? Ans: Stack. Which data-structure would you use for forward and backward browser navigation? Ans: 2 stacks, one to track forward and one for backward. To build a search feature for a ecommerce platform efficiently. Ans: For simple search using SQL, LIKE operator. But not efficient for large datasets. Indexing and search optimized DBs for bit more complex queries that can handle full-text search, for best results we can use cloud search engines like Elasticsearch (supports advanced search features like fuzzy matching). When a new product is launched and millions of users are searching that new product in the same ecommerce platform, in what ways can we reduce the load on the system? Ans: Use in memory cache (e.g. Redis) to reduce database load, database sharding to distribute the load across multiple nodes, load balancer to distribute traffic evenly among the servers and appropriate scaling, and usage of Content Delivery Network (CDN) to cache static content like photos, HTML, CSS, JS. Round 1 - Live Coding/DSA (60 mins) I was given 2 LC problems to be solved in 1 hour. https://leetcode.com/problems/minimum-division-operations-to-make-array-non-decreasing/ https://leetcode.com/problems/apply-operations-to-make-all-array-elements-equal-to-zero/

in my first round they asked me 1)Decode ways(leetcode question) 2)a simple dfs graph based question in my second interview 1)resume based 2) java questions(string builder, garbage collector, java-transactions,spring-boot questions)
avatar

SDE-intern

Interviewed at Flipkart

3.8
Aug 9, 2025

in my first round they asked me 1)Decode ways(leetcode question) 2)a simple dfs graph based question in my second interview 1)resume based 2) java questions(string builder, garbage collector, java-transactions,spring-boot questions)

Viewing 321 - 330 interview questions

Glassdoor has 16,590 interview questions and reports from Sde interviews. Prepare for your interview. Get hired. Love your job.