i
Tech Mahindra
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Aug 2023. There was 1 interview round.
I applied via Walk-in and was interviewed in Oct 2024. There was 1 interview round.
Def factorial_iterative(n):
result = 1
for i in range(1, n + 1):
result *= i
return result
posted on 19 Sep 2024
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Overloading is having multiple methods with the same name but different parameters, while overriding is implementing a method in a subclass with the same signature as in the superclass.
Overloading allows different methods to have the same name but different parameters.
Overriding involves implementing a method in a subclass with the same signature as in the superclass.
Overloading is determined at compile time based on t...
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...
posted on 10 Jul 2024
Print 'hello world!!' in three separate lines.
Use a programming language's print function to output 'hello' on the first line, 'world' on the second line, and '!!' on the third line.
In JavaScript, you can achieve this using console.log() function with line breaks like console.log('hello\nworld\n!!');
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 Feb 2024. There was 1 interview round.
Resolvers in Angular are used to fetch data before the component is loaded, canActivate guards control access to routes, custom decorators can be created using @Decorator syntax, ngOnInit is a lifecycle hook in Angular, asynchronous methods can be made synchronous using async/await, cancellation tokens are used to cancel asynchronous operations.
Resolvers in Angular are used to fetch data before the component is loaded,...
Handling stressful scenarios involves staying calm, prioritizing tasks, seeking support, and practicing self-care.
Stay calm and take deep breaths to manage emotions
Prioritize tasks based on urgency and importance
Seek support from colleagues, mentors, or counselors
Practice self-care activities like exercise, meditation, or hobbies
I applied via Naukri.com and was interviewed in Jul 2023. There were 3 interview rounds.
Train and time and work
Software Engineer
26.4k
salaries
| ₹2 L/yr - ₹9.1 L/yr |
Senior Software Engineer
21.2k
salaries
| ₹5.5 L/yr - ₹22.5 L/yr |
Technical Lead
11.5k
salaries
| ₹9.2 L/yr - ₹37 L/yr |
Associate Software Engineer
5.2k
salaries
| ₹1.8 L/yr - ₹6 L/yr |
Team Lead
4.9k
salaries
| ₹5.2 L/yr - ₹16.7 L/yr |
Infosys
Cognizant
Accenture
Wipro