Swiggy SDE II Interview Experience – Java Spring Boot
Summary
I interviewed for the SDE II Backend Engineer role at Swiggy in November 2024. The interview included rounds on Data Structures & Algorithms, backend concepts, project discussions, and low-level system design.
Full Experience
Nov 2024 | Role Like: Backend Engineer (Java, Spring Boot)
YOE: 2.5
Round 1: DSA + Backend (60 mins)
DSA Questions:1. Build tree from Inorder & Preorder
2. Longest valid parentheses substring (interviewer was a bit confused between substring vs subsequence)
Backend Questions:
- What is SOLID?
- What is DIP (Dependency Inversion Principle)?
- SQL vs NoSQL
- Spring Boot Questions:
- Different ways to autowire an object
- Spring IoC container
Round 2: Resume + LLD(60 mins)
1. Deep dive into past projects2. LLD: Design a Vehicle Rental System
Interview Questions (9)
Build Tree from Inorder & Preorder Traversal
Build a binary tree from its inorder and preorder traversal sequences.
Longest Valid Parentheses Substring
Find the length of the longest valid (well-formed) parentheses substring within a given string.
SOLID Principles
What are the SOLID principles? Explain each principle in detail.
Dependency Inversion Principle (DIP)
Explain the Dependency Inversion Principle (DIP).
SQL vs NoSQL
Discuss the differences, use cases, advantages, and disadvantages of SQL and NoSQL databases.
Spring Boot Autowiring Methods
Describe different ways to autowire an object in Spring Boot.
Spring IoC Container
Explain the concept and functionality of the Spring IoC (Inversion of Control) container.
Past Projects Deep Dive
A deep dive discussion into past projects, likely covering design choices, challenges, and lessons learned.
Design a Vehicle Rental System (LLD)
Perform a Low-Level Design (LLD) for a Vehicle Rental System.