Engenheiro De Software 2 Interview Questions

446 engenheiro de software 2 interview questions shared by candidates

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/

 Given a data set with details pertaining to amount that one person owes to the other in the form of csv
. Sample Input Friend 1 Friend 2 Amount M N 20 L M 70 N L 40 N K 100 M N 10 N M 5 Row 1 implies that M owed 20 Rs to N
Row 2 implies that L owed 70 Rs to M
Similar to other rows

Given the above info, design a solution to derive the below-mentioned insights : How much debt does each person owe to all users?  How much money is a person owed ? Who is the person with the most money owed ? Who is the person with the most debt ?  Sample input in CSV:
 M,N,20 L,M,70 N,L,40 N,K,100 M,N,10 N,M,5
avatar

Software Development Engineer-2

Interviewed at Leap

3.9
Oct 1, 2022

 Given a data set with details pertaining to amount that one person owes to the other in the form of csv
. Sample Input Friend 1 Friend 2 Amount M N 20 L M 70 N L 40 N K 100 M N 10 N M 5 Row 1 implies that M owed 20 Rs to N
Row 2 implies that L owed 70 Rs to M
Similar to other rows

Given the above info, design a solution to derive the below-mentioned insights : How much debt does each person owe to all users?  How much money is a person owed ? Who is the person with the most money owed ? Who is the person with the most debt ?  Sample input in CSV:
 M,N,20 L,M,70 N,L,40 N,K,100 M,N,10 N,M,5

A knight chess piece is on an MxN board at some starting square. Given another square, create an algorithm to find the number of moves it would take for the knight to get to the square. Analyze time and space complexity of algorithm.
avatar

Software Engineer 2

Interviewed at Cadence Design Systems

4.1
May 20, 2022

A knight chess piece is on an MxN board at some starting square. Given another square, create an algorithm to find the number of moves it would take for the knight to get to the square. Analyze time and space complexity of algorithm.

Viewing 11 - 20 interview questions

Glassdoor has 446 interview questions and reports from Engenheiro de software 2 interviews. Prepare for your interview. Get hired. Love your job.