truemeds logo

Truemeds Interviews

1 experience11 reads
Truemeds | SDE-2 Backend | Mumbai | Interview Experience
truemeds logo
Truemeds
SDE-2 BackendMumbai
June 26, 202511 reads

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.

Full Experience

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:

  1. Database
  2. Java Internals and Springboot
  3. Coding and Problem Solving (Java)
  4. DSA
The interview began with introductions, describing tech stacks and a high-level flow of the current project that I am working on. Then he moved to the focus areas.

Database

  1. SQL vs NoSQL Schema difference.
  2. What is Normalisation?
  3. Role of Group By and Having Clause.
  4. How does MongoDB handle large datasets?
  5. Difference between LEFT JOIN and INNER JOIN.
  6. 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

  1. Role of API Gateway in microservices.
  2. Purpose of Container orchestration.
  3. Explain an orchestrator service.
  4. Concept of generics in Java.
  5. What is a circuit breaker in microservices?
  6. How to configure to integrate JPA in Spring Boot?
  7. What are inner classes? Explain their types.
  8. What is an anonymous class?
  9. Difference between shallow copy and deep copy.
  10. Purpose of @SpringBootApplication annotation.
  11. @AutoConfiguration annotation.
  12. What do Lombok annotations offer?
  13. What are starters in Spring Boot?

Problem Solving/DSA (Java)

  1. LC 283. Move Zeroes
  2. Stack and Queue difference
  3. 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)

  1. LC 11. Container With Most Water
  2. Stream API - groupingBy
  3. HashMap and LinkedHashMap
  4. How to solve deadlock using threads in Java?
  5. try/catch/finally block concepts
  6. @Repository use in Spring Boot.
  7. What happens if we replace @Repository with @Service in the DTO class?
  8. Which is better between @Autowired and constructor injection?
  9. To write some REST API endpoints.
  10. How to insert and get data in Elasticsearch?
  11. How to handle 1M users trying to hit an endpoint?
  12. How does Redis work?
  13. How to use pagination in Spring Boot?
  14. How can we solve circular dependency in Spring Boot?
  15. How can we see all logs of microservices in Spring Boot in a single place?
  16. Explain @Transactional and @Profile annotation in Spring Boot.
  17. 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.

Interview Questions (39)

Q1
SQL vs NoSQL Schema Difference
Other

Explain the difference between SQL and NoSQL database schemas.

Q2
Database Normalization
Other

What is Normalization in database design? Explain its purpose.

Q3
SQL GROUP BY and HAVING Clauses
Other

Explain the role and usage of GROUP BY and HAVING clauses in SQL.

Q4
MongoDB Large Datasets
System Design

How does MongoDB handle large datasets and scaling?

Q5
SQL LEFT JOIN vs INNER JOIN
Other

Explain the difference between LEFT JOIN and INNER JOIN in SQL.

Q6
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.

Q7
API Gateway in Microservices
System Design

Explain the role of an API Gateway in a microservices architecture.

Q8
Container Orchestration Purpose
System Design

What is the purpose of container orchestration?

Q9
Orchestrator Service Explanation
System Design

Explain what an orchestrator service is and how it works.

Q10
Java Generics Concept
Other

Explain the concept of generics in Java.

Q11
Circuit Breaker in Microservices
System Design

What is a circuit breaker pattern in microservices, and how does it work?

Q12
Integrate JPA in Spring Boot
Other

How do you configure and integrate JPA (Java Persistence API) in a Spring Boot application?

Q13
Java Inner Classes
Other

What are inner classes in Java? Explain their different types.

Q14
Java Anonymous Class
Other

What is an anonymous class in Java?

Q15
Shallow Copy vs Deep Copy
Other

Explain the difference between shallow copy and deep copy.

Q16
@SpringBootApplication Annotation Purpose
Other

What is the purpose of the @SpringBootApplication annotation?

Q17
@AutoConfiguration Annotation
Other

Explain the @AutoConfiguration annotation.

Q18
Lombok Annotations Benefits
Other

What benefits do Lombok annotations offer in Java development?

Q19
Spring Boot Starters
Other

What are 'starters' in Spring Boot and what is their purpose?

Q20
Move Zeroes
Data Structures & AlgorithmsEasy

Given an integer array nums, move all 0'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.

Q21
Stack vs Queue Difference
Data Structures & Algorithms

Explain the difference between a Stack and a Queue data structure.

Q22
Implement Stack using Array
Data Structures & AlgorithmsEasy

Implement a stack data structure using an array. Provide methods for push, pop, peek, and isEmpty.

Q23
Container With Most Water
Data Structures & AlgorithmsMedium

Given n non-negative integers a1, a2, ..., an where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of the line i are (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.

Q24
Java Stream API groupingBy
Other

Explain the usage of groupingBy collector in Java Stream API.

Q25
HashMap vs LinkedHashMap
Data Structures & Algorithms

Explain the differences between HashMap and LinkedHashMap in Java.

Q26
Solving Deadlock in Java Threads
Other

How can deadlocks be detected and resolved or prevented when working with threads in Java?

Q27
Java try/catch/finally
Other

Explain the concepts and usage of try, catch, and finally blocks in Java exception handling.

Q28
@Repository Annotation in Spring Boot
Other

What is the purpose and usage of the @Repository annotation in Spring Boot?

Q29
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?

Q30
@Autowired vs Constructor Injection
Other

Discuss the pros and cons of @Autowired vs constructor injection in Spring, and which is generally preferred.

Q31
Design REST API Endpoints
System Design

Design and write code for some example REST API endpoints.

Q32
Elasticsearch Data Operations
System Design

How do you insert and retrieve data in Elasticsearch?

Q33
Scaling for 1 Million Concurrent Users
System Design

How would you design a system to handle 1 million concurrent users hitting an endpoint?

Q34
Redis Working Principles
System Design

Explain the internal working principles of Redis.

Q35
Pagination in Spring Boot
Other

How do you implement pagination in a Spring Boot application?

Q36
Solving Circular Dependency in Spring Boot
Other

How can circular dependencies be identified and resolved in a Spring Boot application?

Q37
Centralized Microservice Logging
System Design

How can you centralize and view logs from multiple microservices in Spring Boot in a single place?

Q38
Spring Boot @Transactional and @Profile
Other

Explain the purpose and usage of @Transactional and @Profile annotations in Spring Boot.

Q39
SQL Query with GROUP BY and HAVING
Other

Write a SQL query that involves the use of GROUP BY and HAVING clauses.

Have a Truemeds Interview Experience to Share?

Help other candidates by sharing your interview experience. Your insights could make the difference for someone preparing for their dream job at Truemeds.