39 questions · from 1 interviews
Truemeds interview questions
Every question candidates reported from their Truemeds interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
Truemeds coding and DSA questions
- 01
Move Zeroes
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.
Easy · From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 02
Stack vs Queue Difference
Explain the difference between a Stack and a Queue data structure.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 03
Implement Stack using Array
Implement a stack data structure using an array. Provide methods for push, pop, peek, and isEmpty.
Easy · From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 04
Container With Most Water
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,…
Medium · From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 05
HashMap vs LinkedHashMap
Explain the differences between HashMap and LinkedHashMap in Java.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
Truemeds system design questions
- 01
MongoDB Large Datasets
How does MongoDB handle large datasets and scaling?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 02
API Gateway in Microservices
Explain the role of an API Gateway in a microservices architecture.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 03
Container Orchestration Purpose
What is the purpose of container orchestration?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 04
Orchestrator Service Explanation
Explain what an orchestrator service is and how it works.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 05
Circuit Breaker in Microservices
What is a circuit breaker pattern in microservices, and how does it work?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 06
Design REST API Endpoints
Design and write code for some example REST API endpoints.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 07
Elasticsearch Data Operations
How do you insert and retrieve data in Elasticsearch?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 08
Scaling for 1 Million Concurrent Users
How would you design a system to handle 1 million concurrent users hitting an endpoint?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 09
Redis Working Principles
Explain the internal working principles of Redis.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 10
Centralized Microservice Logging
How can you centralize and view logs from multiple microservices in Spring Boot in a single place?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
Truemeds other questions
- 01
SQL vs NoSQL Schema Difference
Explain the difference between SQL and NoSQL database schemas.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 02
Database Normalization
What is Normalization in database design? Explain its purpose.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 03
SQL GROUP BY and HAVING Clauses
Explain the role and usage of GROUP BY and HAVING clauses in SQL.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 04
SQL LEFT JOIN vs INNER JOIN
Explain the difference between LEFT JOIN and INNER JOIN in SQL.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 05
SQL Query: Inactive Users
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.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 06
Java Generics Concept
Explain the concept of generics in Java.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 07
Integrate JPA in Spring Boot
How do you configure and integrate JPA (Java Persistence API) in a Spring Boot application?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 08
Java Inner Classes
What are inner classes in Java? Explain their different types.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 09
Java Anonymous Class
What is an anonymous class in Java?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 10
Shallow Copy vs Deep Copy
Explain the difference between shallow copy and deep copy.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 11
@SpringBootApplication Annotation Purpose
What is the purpose of the @SpringBootApplication annotation?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 12
@AutoConfiguration Annotation
Explain the @AutoConfiguration annotation.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 13
Lombok Annotations Benefits
What benefits do Lombok annotations offer in Java development?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 14
Spring Boot Starters
What are 'starters' in Spring Boot and what is their purpose?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 15
Java Stream API groupingBy
Explain the usage of groupingBy collector in Java Stream API.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 16
Solving Deadlock in Java Threads
How can deadlocks be detected and resolved or prevented when working with threads in Java?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 17
Java try/catch/finally
Explain the concepts and usage of try, catch, and finally blocks in Java exception handling.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 18
@Repository Annotation in Spring Boot
What is the purpose and usage of the @Repository annotation in Spring Boot?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 19
Replacing @Repository with @Service in DTO
What are the implications if you replace the @Repository annotation with @Service in a DTO class in Spring Boot?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 20
@Autowired vs Constructor Injection
Discuss the pros and cons of @Autowired vs constructor injection in Spring, and which is generally preferred.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 21
Pagination in Spring Boot
How do you implement pagination in a Spring Boot application?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 22
Solving Circular Dependency in Spring Boot
How can circular dependencies be identified and resolved in a Spring Boot application?
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 23
Spring Boot @Transactional and @Profile
Explain the purpose and usage of @Transactional and @Profile annotations in Spring Boot.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
- 24
SQL Query with GROUP BY and HAVING
Write a SQL query that involves the use of GROUP BY and HAVING clauses.
From Truemeds | SDE-2 Backend | Mumbai | Interview Experience
Truemeds interview questions FAQ
What questions are asked in Truemeds interviews?
Candidates reported 39 distinct questions across 1 Truemeds interviews. 5 coding and DSA questions, 10 system design questions, 24 other questions.