i
Tech Mahindra
Filter interviews by
Clear (1)
Find duplicate characters in a given array of strings
Iterate through each string in the array
For each string, iterate through each character and store the count in a hashmap
If the count of any character is greater than 1, it is a duplicate
Code for REST API using Spring Boot with annotations
Use @RestController annotation to define the class as a REST controller
Use @RequestMapping annotation to map HTTP requests to handler methods
Use @GetMapping, @PostMapping, @PutMapping, @DeleteMapping annotations for specific HTTP methods
Use @PathVariable annotation to extract values from the URI
Use @RequestBody annotation to bind HTTP request body to a method paramete
I applied via Approached by company and was interviewed in Dec 2021. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Apr 2024. There were 3 interview rounds.
SAGA pattern is a design pattern used in microservices architecture to manage distributed transactions.
SAGA pattern breaks down a long-running transaction into a series of smaller, independent transactions.
Each step in the SAGA pattern is a separate service that communicates with other services through events.
If a step fails, compensating transactions are executed to rollback the changes made by previous steps.
Example:...
API stands for Application Programming Interface. It defines the methods and data formats that applications can use to communicate with each other.
API is a set of rules and protocols that allows different software applications to communicate with each other.
To secure an API, you can use authentication methods like OAuth, API keys, or JWT tokens.
Implementing encryption (HTTPS) and rate limiting can also enhance API secu...
I applied via Naukri.com and was interviewed in Mar 2022. There were 3 interview rounds.
I am open to discussing salary based on the responsibilities and requirements of the position.
I am flexible and open to negotiation.
I am looking for a competitive salary based on my skills and experience.
I would like to be compensated fairly for the value I can bring to the company.
I am interested in discussing the overall compensation package, including benefits and bonuses.
My family background is diverse and multicultural, with members from different countries and professions.
My parents are from different countries, which has exposed me to different cultures and languages.
My father is a doctor and my mother is an engineer, which has influenced my interest in both medicine and technology.
I have relatives who are teachers, artists, and entrepreneurs, which has broadened my perspective on v...
Looking for new challenges and growth opportunities.
Seeking a more challenging role to enhance my skills and knowledge.
Interested in working with new technologies and frameworks.
Want to be part of a dynamic and innovative team.
Desire for career growth and advancement.
Looking for a better work-life balance.
In 5 years, I see myself as a highly skilled Fullstack Java Developer, leading a team and working on complex projects.
Leading a team of developers
Working on complex projects
Continuously improving my skills
Contributing to the success of the company
I am a Fullstack Java Developer with experience in developing web applications using Java, Spring, and JavaScript.
I have a strong understanding of Java programming language and its frameworks like Spring and Hibernate.
I am proficient in front-end technologies like HTML, CSS, and JavaScript.
I have experience in developing RESTful APIs and working with databases like MySQL and MongoDB.
I am familiar with Agile development...
I was interviewed in Aug 2023.
A simple program to print 'fizz' for multiples of 3, 'buzz' for multiples of 5, and 'fizzbuzz' for multiples of both.
Iterate through numbers from 1 to n.
Use modulo operator to check divisibility by 3 and 5.
Print 'fizz', 'buzz', or 'fizzbuzz' accordingly.
Yes, classes implementing an interface must implement interface methods.
Classes implementing an interface must provide concrete implementations for all methods declared in the interface.
Failure to implement all interface methods will result in a compilation error.
Interfaces are used to define a contract that implementing classes must adhere to.
I applied via Naukri.com and was interviewed in Aug 2022. There were 2 interview rounds.
I was interviewed in Feb 2022.
I applied via Naukri.com and was interviewed in Jul 2021. There were 3 interview rounds.
4 senior interviewer in group discus
I applied via Company Website and was interviewed in Mar 2024. There were 3 interview rounds.
based on 3 interviews
Interview experience
based on 1 review
Rating in categories
Software Engineer
26.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
21.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
11.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
5.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Infosys
Cognizant
Accenture
Wipro