i
TCS
Filter interviews by
All kind of basic aptitude to oops
Two java questions easy and medium
I applied via Campus Placement and was interviewed before Oct 2023. There was 1 interview round.
Traverse the linked list to find the starting point by using Floyd's Tortoise and Hare algorithm
Use two pointers, slow and fast, to traverse the linked list
Move slow pointer by one step and fast pointer by two steps
When they meet, reset one pointer to the head and move both pointers by one step until they meet again
Traverse the linked list and count the number of nodes
Initialize a counter variable to 0
Traverse the linked list while incrementing the counter for each node
Return the final count as the length of the linked list
Good aptitute is asked in the tcs
Basic to medium level question
I appeared for an interview before Mar 2023.
OOPs features include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability to create new classes based on existing classes, inheriting their attributes and methods.
Polymorphism: Ability to use a single interface to represent different data types or objects.
Abstraction: Hiding the implementation details...
String is immutable in order to ensure data integrity and security.
Immutable strings prevent accidental modification of data.
Immutable strings allow for safe sharing of data between different parts of a program.
Immutable strings help in thread safety by avoiding concurrent modification issues.
Example: String str = "hello"; str.concat(" world"); // This does not modify the original string, but creates a new one
String is immutable while StringBuilder is mutable in Java.
String is immutable, meaning once created, it cannot be changed. StringBuilder is mutable, allowing for modifications.
String concatenation creates a new string object each time, while StringBuilder allows for efficient string manipulation.
StringBuilder is more efficient for concatenating multiple strings in a loop.
Example: String str = "Hello"; StringBuilder sb...
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.
Easy logical questions
basic quant
Easy level coding questions
Counting frequency of alphabets
Multiple dispatch is not a feature of Redux. It can be achieved using middleware or custom logic.
Middleware like redux-thunk or redux-saga can be used to dispatch multiple actions based on a single action.
Custom logic can be implemented in the reducer to handle multiple actions based on a single action type.
For example, a single 'ADD_ITEM' action can trigger multiple actions like 'UPDATE_TOTAL', 'UPDATE_HISTORY', etc.
M...
I applied via Job Portal and was interviewed before Dec 2019. There was 1 interview round.
I applied via Naukri.com and was interviewed in Aug 2018. There was 0 interview round.
I applied via Walk-in and was interviewed before Sep 2019. There were 3 interview rounds.
based on 5 interview experiences
Difficulty level
Duration
based on 2 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
65.5k
salaries
| ₹7.7 L/yr - ₹12.7 L/yr |
AST Consultant
53.6k
salaries
| ₹12 L/yr - ₹20.6 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.7 L/yr - ₹6.4 L/yr |
Associate Consultant
32.9k
salaries
| ₹16.2 L/yr - ₹28 L/yr |
Amazon
Wipro
Infosys
Accenture