Frequently Asked Interview Questions for SDE Role

View profile for Ankur Dhawan

MTS-2 @Adobe | Top 0.1% Club @topmate | Ex @MakeMyTrip 🧑💻 | 46K+ @LinkedIn

Frequently Asked Interview Questions – SDE (Java/Spring Boot) Compensation Bracket: ₹20–25 LPA Role: Backend / Software Engineer 𝗖𝗼𝗿𝗲 𝗝𝗮𝘃𝗮 • Difference between HashMap, HashTable, and ConcurrentHashMap • How does Garbage Collection work in JVM? • Explain volatile and synchronized in multithreading • Deep copy vs Shallow copy • How does the Java memory model work (Heap, Stack, Metaspace)? 𝗦𝗽𝗿𝗶𝗻𝗴 & 𝗦𝗽𝗿𝗶𝗻𝗴 𝗕𝗼𝗼𝘁 • What is Dependency Injection? How does Spring handle it internally? • Difference between @Component, @Service, and @Repository • How does Spring Boot auto-configuration work? • Exception handling best practices in REST APIs • How to secure REST APIs (JWT, OAuth2)? 𝗝𝗣𝗔 / 𝗛𝗶𝗯𝗲𝗿𝗻𝗮𝘁𝗲 • Difference between Lazy and Eager loading • What are N+1 query problems? How to solve them? • How does Hibernate manage transactions? • Entity lifecycle states (Transient, Persistent, Detached, Removed) 𝗦𝗤𝗟 & 𝗗𝗮𝘁𝗮𝗯𝗮𝘀𝗲 • Write a query to find the 2nd highest salary from Employee table • Difference between INNER JOIN, LEFT JOIN, RIGHT JOIN • What are indexes? Clustered vs Non-clustered • How to optimize slow queries? 𝗗𝗦𝗔 / 𝗣𝗿𝗼𝗯𝗹𝗲𝗺 𝗦𝗼𝗹𝘃𝗶𝗻𝗴 • Implement LRU Cache • Detect a cycle in a linked list • Find longest substring without repeating characters • Merge overlapping intervals • Design a rate limiter 𝗦𝘆𝘀𝘁𝗲𝗺 𝗗𝗲𝘀𝗶𝗴𝗻 • Design a URL Shortener like bit.ly • How would you scale a notification service? • Difference between Monolith vs Microservices • Use of API Gateway and Load Balancer • CAP Theorem explanation with real-world examples Tip: These are not just “questions to memorize”. You should be able to explain concepts, trade-offs, and real project scenarios around them. That’s what matters in 20–25 LPA interviews. #sde1 #sde2 #sde3 #sde4 #hiring #layoff #jobHunt

Kshitij Arora

Java Backend Engineer | Spring Boot, Microservices | JavaScript & HTML | SSDE @ Newgen Software | Ex-Wipro (HSBC)

1mo

Great share

Like
Reply
RAHUL KUMAR

final year B.Tech student @NIT patna |web Developer |c,c++,python, java|Data structure &Algorithm. flutter, leetcode 500+ codeforces 250+ Mathura,UP

1mo
Like
Reply
Neeraj Kumar

Senior Software Engineer | AWS | Spring Boot | Java | Angular | React | SQL

1mo
Like
Reply
See more comments

To view or add a comment, sign in

Explore content categories