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/
Sde Interview Questions
16,593 sde interview questions shared by candidates
Leetcode question directly from the website
Find angle between minute hand and hour hand. Find the delay in minute hand and hour hand at 3:50:30 sec if the hour hand delays one minute every 15 min.
Explain about hoisting and how it is different in variables and functions
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)
What is the angle between the hands of a wall clock that has an issue?
Internship experience.what and how did you make the advancement in website
given a string and an infinity width 2d matrix of length n. You have to write the characters of the string in a zigzag form ie if str[0] is at a[0][0] str[1] goes at a[1][1]. Once you reach the last row the direction of zigzag changes z[i][j] to z[i-1][j+1]. Print the final state of the 2d array
Explain one of your project
OOPS and DBMS concept and about Projects in detail
Viewing 321 - 330 interview questions