i
TCS
Filter interviews by
Clear (1)
I was interviewed in Dec 2020.
Round duration - 30 minutes
Round difficulty - Medium
It was in the morning about 10:00AM-10:40AM. The platform used for this round was hackerrank. There are 15 MCQ's which cover portions of Aptitude, Data Structures, DBMS, SQL
You are given an array 'ARR'
of size 'N'
consisting of positive integers. Your task is to determine the minimum number of operations required to make all elements in t...
Minimum number of operations to make all elements in the array equal by performing addition, subtraction, multiplication, or division.
Iterate through the array to find the maximum and minimum values.
Calculate the difference between the maximum and minimum values.
The minimum number of operations needed is the difference between the maximum and minimum values.
Round duration - 15 minutes
Round difficulty - Easy
It was in the night around 7:00PM-7:20PM. Platform used for this round was skype. Interviewer was very serious while taking my interview.
Tip 1 : Practice as much as you can
Tip 2 : Try to get a good hold in Data Structures
Tip 3 : Do atleast 2 projects
Tip 1 : It should not be too long or too short.
Tip 2 : Each skill should be mentioned properly.
I was interviewed in Sep 2020.
Round duration - 180 minutes
Round difficulty - Hard
Timing: 8 a.m. to 11a.m.
Environment was optimum.
No significant activity.
Given two strings S
and T
with lengths N
and M
respectively, your task is to find the "Edit Distance" between these strings.
The Edit Distance is defined as the minimum nu...
The task is to find the minimum number of operations required to convert one string into another using delete, replace, and insert operations.
Use dynamic programming to solve the problem efficiently.
Create a 2D array to store the minimum edit distance for substrings of the two input strings.
Iterate through the strings and update the array based on the operations needed for each character.
Return the value in the bottom ...
Round duration - 30 minutes
Round difficulty - Medium
Timing: 12:00 p.m. to 12:30 p.m.
The environment was quite good.
No significant activity.
Interviewers were very friendly. They were behaving like friends.
Round duration - 15 minutes
Round difficulty - Easy
Timing: 3:00 p.m. to 3:20 p.m.
Environment was very good.
No significant activity was monitored.
HR was very good and friendly.
Tip 1 : Do minimum 3 projects
Tip 2 : Prepare every topic of DSA for interview
Tip 3 : Hands on experience in performing MySql commands
Tip 1 : Be precise and don't bluff
Tip 2 : Learn atleast 2 programming languages
Tip 3 : Do projects on latest technologies like Artificial Intelligence and Machine Learning
I was interviewed before Sep 2020.
Round duration - 360 minutes
Round difficulty - Hard
Timing- Any 6 hours of my choice in the 24 hour window. (10:00 p.m. to 4:00 a.m. I selected)
Environment was very friendly and easy to use.
No significant activity.
This was the only coding round.
You are given two integers DAY_HOURS
and PARTS
. The integer 'DAY_HOURS' represents the number of hours in a day, and the day can be divided into 'PARTS' equal parts. You...
Find total instances of equivalent prime groups in a day divided into equal parts.
Iterate through each part of the day and check for prime pairs in different parts
Use a helper function to check if a number is prime
Ensure the day is evenly divided by parts and each prime group has hours from different parts
Round duration - 10-15 minutes
Round difficulty - Easy
Timing- 12:15 p.m.
Environment was very good .
Not any significant activity.
The interviewer was very friendly and talked like friends.
Round duration - 20 minutes
Round difficulty - Medium
Timing- 12:30 p.m. to 12:45 p.m
Environment was very comfortable.
No other significant activity.
Interviewer was very good and talking very politely & friendly.
Tip 1 : Make sure what you have learnt in DSA you can do it practically by writing codes.
Tip 2 : Must have a hands-on experience in writing SQL commands.
Tip 3 : Do atleast 3-4 projects so that you have an option to explain any one of them if the interviewer asks.
Tip 1 : Write only true data in resume. Don't bluff as you may get caught which will be very embarrassing.
Tip 2 : Have some latest technology related projects in your resume.
What people are saying about TCS
I was interviewed before May 2021.
Round duration - 30 minutes
Round difficulty - Medium
Given a string S, your task is to recursively remove all consecutive duplicate characters from the string.
String S
Output string
Recursively remove consecutive duplicate characters from a string.
Use recursion to check if the current character is the same as the next character, if so, skip the next character
Base case: if the string is empty or has only one character, return the string
Recursive case: if the current character is the same as the next character, call the function recursively with the string excluding the next character
Round duration - 90 minutes
Round difficulty - Easy
You are provided with a string S
and an array of integers A
of size M
. Your task is to perform M
operations on the string as specified by the indices in array A
...
Perform a series of reverse string operations on a given string based on specified indices.
Iterate through the array of indices and reverse the substring of the string based on the given indices.
Ensure to reverse the substring from the starting index to len(S) - starting index - 1.
Continue the operations in the sequence specified by the array of indices to get the final string.
Round duration - 50 minutes
Round difficulty - Medium
Tip 1 : Prepare well for resume & confidence for basic part of CS.
Tip 2 : Good knowledge of skills set which mentioned in CV.
Tip 3 : Explain about projects which you have worked earlier & your roles and responsibilities.
Tip 1 : Mentioned all the skills & certificate till date update your resume every 3 month's.
Tip 2 : Proper skills set with project explanation and duration of project which you have worked on
I was interviewed in Aug 2021.
Round duration - 45 minutes
Round difficulty - Medium
Technical Interview round that lasted for about 45 minutes. Questions were based on Java, Java design Patterns and OOPS Concepts.
Static methods in interfaces are methods that can be called without creating an instance of the interface implementation.
Static methods in interfaces were introduced in Java 8.
They are used for providing utility methods that are related to the interface but do not require an instance of the implementing class.
Static methods in interfaces cannot be overridden by implementing classes.
Example: interface MyInterface { stat...
Java 8 was needed to introduce new features like lambda expressions, streams, and default methods.
Introduction of lambda expressions for functional programming
Streams API for processing collections in a functional style
Default methods in interfaces for backward compatibility
Improved performance with the introduction of the Nashorn JavaScript engine
Date and Time API for better handling of date and time operations
There are multiple ways to create a singleton pattern in Java, including using static initialization, lazy initialization, and enum.
Using static initialization: Create a private static instance of the class and a public static method to return that instance.
Lazy initialization: Create a private static instance of the class and a public static method to check if the instance is null before creating it.
Using enum: Create...
Round duration - 60 minutes
Round difficulty - Medium
Technical Interview round that lasted for about 45 minutes. Questions were based on Spring boot and Microservices Concepts.
Bridge Pattern decouples abstraction from implementation, while Adapter Pattern adapts an interface to another.
Bridge Pattern separates abstraction and implementation using composition, while Adapter Pattern adapts an interface to another without changing its original structure.
Bridge Pattern allows for changes in both abstraction and implementation independently, while Adapter Pattern allows incompatible interfaces to...
Difference between @RestController and @Controller in Spring Boot
1. @Controller is used to create web MVC controllers while @RestController is used to create RESTful web services.
2. @Controller returns the view to be rendered while @RestController returns the object and data is written directly to the HTTP response as JSON or XML.
3. @RestController is a specialized version of @Controller that includes @Controller and @...
Spring is a framework for building Java applications, while Spring Boot is an extension that simplifies the setup and configuration.
Spring is a comprehensive framework for building Java applications, providing features like dependency injection, aspect-oriented programming, and more.
Spring Boot is an extension of the Spring framework that aims to simplify the setup and configuration of Spring applications.
Spring Boot i...
Monolithic architecture is a single-tiered software application where all components are tightly coupled, while microservices architecture is a distributed approach where the application is broken down into smaller, loosely coupled services.
Monolithic architecture has a single codebase and database, while microservices have multiple smaller services with their own codebase and database.
Monolithic applications are harde...
Round duration - 30 minutes
Round difficulty - Easy
This was a typical HR round with some standard Behavioral questions
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Campus Placement and was interviewed before Feb 2021. There were 3 interview rounds.
Aptitude round consists Logical reasoning, General Aptitude, Grammar related questions etc. All are moderate level questions.
OOPs is a programming paradigm that uses objects to represent real-world entities. Java is an OOPs language.
OOPs stands for Object-Oriented Programming System
Java is a class-based OOPs language
Encapsulation, Inheritance, Polymorphism, and Abstraction are the four pillars of OOPs
Objects have state and behavior
Java supports interfaces, which allow for multiple inheritance
Example: A car can be represented as an object wit...
Java solves machine dependency by using bytecode and virtual machine.
Java code is compiled into bytecode which is platform-independent
The bytecode is executed by the Java Virtual Machine (JVM) which is platform-specific
JVM translates bytecode into machine code for the specific platform
This allows Java code to run on any platform with a JVM installed
Example: A Java program compiled on Windows can run on Linux or Mac as
I applied via Campus Placement and was interviewed before Feb 2021. There were 3 interview rounds.
The medium level questions are present
There was no gd
I applied via Campus Placement and was interviewed before May 2021. There were 2 interview rounds.
Numerical ability and logical reasoning followed by some coding mcqs
Printing 1 to 100 without for loop
Use recursion to print numbers from 1 to 99
Print 100 outside the recursion
Use a base case to stop recursion at 100
I applied via Campus Placement and was interviewed before Jun 2021. There were 2 interview rounds.
Simple aptitude test
I applied via Campus Placement and was interviewed before Aug 2021. There were 2 interview rounds.
It was a basic aptitude test.
System Engineer
1.1L
salaries
| ₹0 L/yr - ₹0 L/yr |
IT Analyst
66.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
AST Consultant
51.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
29.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Amazon
Wipro
Infosys
Accenture