i
TCS
Filter interviews by
I applied via Company Website and was interviewed in Mar 2024. There were 3 interview rounds.
Use a HashSet to remove duplicates from an ArrayList of strings.
Create a HashSet and add all elements from the ArrayList to it.
Clear the ArrayList and then add all elements back from the HashSet.
I applied via Campus Placement and was interviewed in May 2023. There were 3 interview rounds.
A cookie is a small piece of data stored on the user's computer by the web browser, used to track user activity and personalize user experience.
Cookies are used to store user preferences, login information, and shopping cart items.
They help websites remember users and their preferences, making the browsing experience more personalized.
Cookies can also be used for tracking user behavior, such as analyzing website traffi...
Core java, servlet ,jdbc
What people are saying about TCS
I applied via Walk-in and was interviewed before Apr 2023. There was 1 interview round.
Hash map is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
Hash map uses hashing to map keys to indices in an array.
It allows for constant time complexity O(1) for insertion, deletion, and retrieval operations.
Example: HashMap
TCS interview questions for designations
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There were 2 interview rounds.
Find the second largest element from array of strings
Sort the array in descending order
Access the element at index 1 to get the second largest element
Failsafe integrators prioritize system stability by handling errors gracefully, while fail fast integrators prioritize quick detection and resolution of errors.
Failsafe integrators focus on ensuring the system continues to function even in the presence of errors.
Fail fast integrators aim to quickly identify and address errors to prevent further issues.
Failsafe integrators often use techniques like retries, circuit brea...
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 29 May 2024
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 LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
Interview experience
based on 11 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.6k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.9k
salaries
| ₹2.2 L/yr - ₹5.6 L/yr |
Associate Consultant
28.9k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture