Sde Interview Questions

16,614 sde interview questions shared by candidates

Q: Given a random number generator that generates numbers from 1 to 6 with equal probability. Let's call this rand6(), define a function rand12() that generates numbers between 1 and 12 with equal probability using the aforementioned function.
avatar

Software Development Engineer (SDE) II

Interviewed at Chalo (India)

3.7
Oct 19, 2021

Q: Given a random number generator that generates numbers from 1 to 6 with equal probability. Let's call this rand6(), define a function rand12() that generates numbers between 1 and 12 with equal probability using the aforementioned function.

Minimum time required to burn the Binary tree from given node. (Basically given any node, it will burn at time 0 and then at time 1 the nodes connected to given node will burn and so on. Task was to find total time to burn.)
avatar

Software Development Engineer (SDE)

Interviewed at CommerceIQ

2.9
Apr 19, 2024

Minimum time required to burn the Binary tree from given node. (Basically given any node, it will burn at time 0 and then at time 1 the nodes connected to given node will burn and so on. Task was to find total time to burn.)

2nd Round - We discussed about my projects and dived deep into one and how to scale it. Question related to why choose this language and framework and language on backend, why this choice of database and how it will change when we will scale further. And some more questions regarding improving throughput and fault tolerance.
avatar

Software Development Engineer (SDE)

Interviewed at CommerceIQ

2.9
Apr 19, 2024

2nd Round - We discussed about my projects and dived deep into one and how to scale it. Question related to why choose this language and framework and language on backend, why this choice of database and how it will change when we will scale further. And some more questions regarding improving throughput and fault tolerance.

First Round: Q1: Reverse nodes in a linked list in groups of k Q2: Find the minimum window substring containing all characters of another string. Second Round: Q1: Balanced parentheses problem, remove or count invalid ones Q2: One medium-level string manipulation problem
avatar

Software Development Engineer (SDE)

Interviewed at Info Edge

3.6
Jul 21, 2025

First Round: Q1: Reverse nodes in a linked list in groups of k Q2: Find the minimum window substring containing all characters of another string. Second Round: Q1: Balanced parentheses problem, remove or count invalid ones Q2: One medium-level string manipulation problem

Viewing 871 - 880 interview questions

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