Software Engineer 2 Interview Questions

2,524 software engineer 2 interview questions shared by candidates

Write out a well formatted multiplication table for 2 number input. Best Time to Buy and Sell Stock. How would you implement hash table. What's the time complexity of operations on hash table. Explain joins in SQL. Write a query using them. Find bugs in Javascript code.
avatar

Software Engineer 2

Interviewed at Tripadvisor

3.5
Aug 30, 2024

Write out a well formatted multiplication table for 2 number input. Best Time to Buy and Sell Stock. How would you implement hash table. What's the time complexity of operations on hash table. Explain joins in SQL. Write a query using them. Find bugs in Javascript code.

Q1. Write a program to print out sequence of execution for a given interdependent task list. e.g. Given tasks set= [1,2,3,4,5] and Dependency map: Task Dependent On 3 => 1,5 2 => 5,3 4 => 3 5 => 1 Output=> [1, 5, 3, 2 ,4] or [1, 5, 3, 4, 2] q2) Reorder an input array to place all odds before evens. For example, after numbers in the array {1, 2, 3, 4, 5} are reordered, it looks like {1, 5, 3, 4, 2}. The result is not unique. LLD+HLD: BookmyShow
avatar

SDE-2 Backend

Interviewed at CoinSwitch

3.6
Dec 28, 2021

Q1. Write a program to print out sequence of execution for a given interdependent task list. e.g. Given tasks set= [1,2,3,4,5] and Dependency map: Task Dependent On 3 => 1,5 2 => 5,3 4 => 3 5 => 1 Output=> [1, 5, 3, 2 ,4] or [1, 5, 3, 4, 2] q2) Reorder an input array to place all odds before evens. For example, after numbers in the array {1, 2, 3, 4, 5} are reordered, it looks like {1, 5, 3, 4, 2}. The result is not unique. LLD+HLD: BookmyShow

Viewing 1841 - 1850 interview questions

Glassdoor has 2,524 interview questions and reports from Software engineer 2 interviews. Prepare for your interview. Get hired. Love your job.