Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- Location
- Mumbai
- Posted
- 26 Jun 2025
Summary
I interviewed for an SDE-2 Backend role at Truemeds in Mumbai. I completed two technical rounds but was ultimately not selected as I was unable to provide the expected answers to some conceptual questions, despite solving the coding problems.
How it went
I saw a post on LinkedIn by a Lead Software Engineer of Truemeds hiring for backend engineers (SDE I/II/III/Lead) and shared my resume over email. I got an email after 8 days saying that my profile was shortlisted for interview rounds, and the first round would be taken by BarRaiser (third-party). The Truemeds HR called to schedule an interview the next day itself.
Round 1 - BarRaiser (1.5 hours)
The key focus areas mentioned were:
- Database
- Java Internals and Springboot
- Coding and Problem Solving (Java)
- DSA
Database
- SQL vs NoSQL Schema difference.
- What is Normalisation?
- Role of Group By and Having Clause.
- How does MongoDB handle large datasets?
- Difference between LEFT JOIN and INNER JOIN.
- A user table has the last login date as a column. Write a SQL query to find all the users who have been inactive for more than 90 days.
Java Internals and Springboot
- Role of API Gateway in microservices.
- Purpose of Container orchestration.
- Explain an orchestrator service.
- Concept of generics in Java.
- What is a circuit breaker in microservices?
- How to configure to integrate JPA in Spring Boot?
- What are inner classes? Explain their types.
- What is an anonymous class?
- Difference between shallow copy and deep copy.
- Purpose of @SpringBootApplication annotation.
- @AutoConfiguration annotation.
- What do Lombok annotations offer?
- What are starters in Spring Boot?
Problem Solving/DSA (Java)
- LC 283. Move Zeroes
- Stack and Queue difference
- GFG Implement Stack using Array
Although in the mail it was mentioned the interview was for 90 minutes, it was wrapped up in 70 minutes. I faced internet issues a couple of times, and thankfully it did not affect the interview. In the end, I asked for feedback, and he said to read more about distributed systems, and the rest was good. Overall, I felt the interview went positively. Although I read numerous posts on Leetcode beforehand about people's negative experiences with BarRaiser as a third-party interviewing company, I was fortunate to have a good experience. It probably depends on the interviewer to interviewer.
Round 2 - Technical Discussion (1 hour)
- LC 11. Container With Most Water
- Stream API - groupingBy
- HashMap and LinkedHashMap
- How to solve deadlock using threads in Java?
- try/catch/finally block concepts
- @Repository use in Spring Boot.
- What happens if we replace @Repository with @Service in the DTO class?
- Which is better between @Autowired and constructor injection?
- To write some REST API endpoints.
- How to insert and get data in Elasticsearch?
- How to handle 1M users trying to hit an endpoint?
- How does Redis work?
- How to use pagination in Spring Boot?
- How can we solve circular dependency in Spring Boot?
- How can we see all logs of microservices in Spring Boot in a single place?
- Explain @Transactional and @Profile annotation in Spring Boot.
- SQL query involving GROUP BY and HAVING.
This round was average, according to me. Although I was able to solve all the coding problems, I was unable to provide the expected answers to some of the conceptual questions. Also, I had a hard time understanding the interviewer's accent.
After 1 week followed up with HR to know that they would not move ahead with my candidature.
Questions asked (39)
- 01
SQL vs NoSQL Schema Difference
Other
Explain the difference between SQL and NoSQL database schemas.
- 02
Database Normalization
Other
What is Normalization in database design? Explain its purpose.
- 03
SQL GROUP BY and HAVING Clauses
Other
Explain the role and usage of GROUP BY and HAVING clauses in SQL.
- 04
MongoDB Large Datasets
System Design
How does MongoDB handle large datasets and scaling?
- 05
SQL LEFT JOIN vs INNER JOIN
Other
Explain the difference between LEFT JOIN and INNER JOIN in SQL.
- 06
SQL Query: Inactive Users
Other
A user table has the last login date as a column. Write a SQL query to find all the users who have been inactive for more than 90 days.
- 07
API Gateway in Microservices
System Design
Explain the role of an API Gateway in a microservices architecture.
- 08
Container Orchestration Purpose
System Design
What is the purpose of container orchestration?
- 09
Orchestrator Service Explanation
System Design
Explain what an orchestrator service is and how it works.
- 10
Java Generics Concept
Other
Explain the concept of generics in Java.
- 11
Circuit Breaker in Microservices
System Design
What is a circuit breaker pattern in microservices, and how does it work?
- 12
Integrate JPA in Spring Boot
Other
How do you configure and integrate JPA (Java Persistence API) in a Spring Boot application?
- 13
Java Inner Classes
Other
What are inner classes in Java? Explain their different types.
- 14
Java Anonymous Class
Other
What is an anonymous class in Java?
- 15
Shallow Copy vs Deep Copy
Other
Explain the difference between shallow copy and deep copy.
- 16
@SpringBootApplication Annotation Purpose
Other
What is the purpose of the @SpringBootApplication annotation?
- 17
@AutoConfiguration Annotation
Other
Explain the @AutoConfiguration annotation.
- 18
Lombok Annotations Benefits
Other
What benefits do Lombok annotations offer in Java development?
- 19
Spring Boot Starters
Other
What are 'starters' in Spring Boot and what is their purpose?
- 20
Move Zeroes
Data Structures & Algorithms · Easy
Open the problemGiven an integer array
nums, move all0's to the end of it while maintaining the relative order of the non-zero elements. Note that you must do this in-place without making a copy of the array. - 21
Stack vs Queue Difference
Data Structures & Algorithms
Explain the difference between a Stack and a Queue data structure.
- 22
Implement Stack using Array
Data Structures & Algorithms · Easy
Open the problemImplement a stack data structure using an array. Provide methods for push, pop, peek, and isEmpty.
- 23
Container With Most Water
Data Structures & Algorithms · Medium
Open the problemGiven
nnon-negative integersa1, a2, ..., anwhere each represents a point at coordinate(i, ai).nvertical lines are drawn such that the two endpoints of the lineiare(i, ai)and(i, 0). Find two lines, which, together with the x-axis forms a container, such that the container contains the most water. Return the maximum amount of water a container can store. - 24
Java Stream API groupingBy
Other
Explain the usage of
groupingBycollector in Java Stream API. - 25
HashMap vs LinkedHashMap
Data Structures & Algorithms
Explain the differences between HashMap and LinkedHashMap in Java.
- 26
Solving Deadlock in Java Threads
Other
How can deadlocks be detected and resolved or prevented when working with threads in Java?
- 27
Java try/catch/finally
Other
Explain the concepts and usage of try, catch, and finally blocks in Java exception handling.
- 28
@Repository Annotation in Spring Boot
Other
What is the purpose and usage of the @Repository annotation in Spring Boot?
- 29
Replacing @Repository with @Service in DTO
Other
What are the implications if you replace the @Repository annotation with @Service in a DTO class in Spring Boot?
- 30
@Autowired vs Constructor Injection
Other
Discuss the pros and cons of @Autowired vs constructor injection in Spring, and which is generally preferred.
- 31
Design REST API Endpoints
System Design
Design and write code for some example REST API endpoints.
- 32
Elasticsearch Data Operations
System Design
How do you insert and retrieve data in Elasticsearch?
- 33
Scaling for 1 Million Concurrent Users
System Design
How would you design a system to handle 1 million concurrent users hitting an endpoint?
- 34
Redis Working Principles
System Design
Explain the internal working principles of Redis.
- 35
Pagination in Spring Boot
Other
How do you implement pagination in a Spring Boot application?
- 36
Solving Circular Dependency in Spring Boot
Other
How can circular dependencies be identified and resolved in a Spring Boot application?
- 37
Centralized Microservice Logging
System Design
How can you centralize and view logs from multiple microservices in Spring Boot in a single place?
- 38
Spring Boot @Transactional and @Profile
Other
Explain the purpose and usage of @Transactional and @Profile annotations in Spring Boot.
- 39
SQL Query with GROUP BY and HAVING
Other
Write a SQL query that involves the use of GROUP BY and HAVING clauses.