i
TCS
Filter interviews by
A linked list is a data structure consisting of nodes where each node contains a data field and a reference to the next node.
Consists of nodes connected by pointers/references
Does not have a fixed size like an array
Can easily insert or delete elements without shifting other elements
Example: Singly linked list, Doubly linked list
Bubble Sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.
Initialize an array of strings to be sorted
Repeat until no swaps are needed: Compare adjacent elements and swap if necessary
Continue until the array is sorted in ascending order
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance in object-oriented programming languages like Java allows for polymorphism.
I applied via Campus Placement and was interviewed before Aug 2021. There were 3 interview rounds.
3 hours of test which consists of Aptitude,verbal, reasoning questions and coding of 2 questions.
i indicates the index of an element in an array.
i is a variable used to access elements in an array.
It starts at 0 for the first element and increments by 1 for each subsequent element.
For example, in the array ['apple', 'banana', 'orange'], i=0 would refer to 'apple', i=1 to 'banana', and i=2 to 'orange'.
Genetically modified organisms (GMOs) are organisms whose genetic material has been altered in a way that does not occur naturally.
GMOs are created by inserting genes from one organism into another to give it a desired trait.
They are commonly used in agriculture to create crops that are resistant to pests or herbicides.
GMOs have been a controversial topic due to concerns about their safety and potential impact on the e...
What people are saying about TCS
I applied via Campus Placement and was interviewed in Aug 2020. There were 4 interview rounds.
A program to replace a character with another character in Java.
Create a string variable with the original text
Use the replace() method to replace the character with another character
Print the new string with the replaced character
I applied via Naukri.com and was interviewed in Oct 2020. There was 1 interview round.
Second level cache is a caching mechanism used to improve performance by storing frequently accessed data in memory.
Second level cache is implemented at the application level and can be configured using frameworks like Hibernate.
To optimize SQL queries, one can use indexes, avoid using SELECT *, and use JOINs instead of subqueries.
SOLID principles are a set of design principles for writing maintainable and scalable cod...
To deploy an application in AWS, you need to create an EC2 instance, configure security groups, install necessary software, and upload your application code.
Create an EC2 instance in the desired region and select the appropriate instance type
Configure security groups to allow traffic to and from the instance
Install necessary software and dependencies on the instance
Upload your application code to the instance
Start the ...
I applied via Company Website and was interviewed before Aug 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed in Dec 2020. There were 4 interview rounds.
I applied via Recruitment Consulltant and was interviewed before Jun 2021. There was 1 interview round.
BigInteger is used for mathematical operations involving very large integers in Java.
BigInteger is used when the range of values supported by primitive data types like int and long is not sufficient.
It is commonly used in cryptography and security applications.
It provides methods for arithmetic, bitwise, and logical operations on large integers.
Example: calculating factorial of a large number, generating large prime nu
Merge Sort Algo code in java
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Time complexity: O(n log n)
I applied via Naukri.com and was interviewed before Jul 2018. There were 2 interview rounds.
based on 2 interviews
Interview experience
based on 25 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
66.3k
salaries
| ₹5 L/yr - ₹16 L/yr |
AST Consultant
52k
salaries
| ₹8 L/yr - ₹25 L/yr |
Associate Consultant
30.5k
salaries
| ₹9 L/yr - ₹32 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹5.8 L/yr |
Amazon
Wipro
Infosys
Accenture