i
TCS
Filter interviews by
I applied via Naukri.com and was interviewed before Sep 2021. There were 2 interview rounds.
Interview questions for a PySpark Developer
Explained current project and its implementation
Differentiated between managed and external table
Described Spark architecture and RDD
Discussed characteristics of RDD and lazy nature
Provided insert statement for managed and external table
Explained deployment related to code in PySpark
Answered Python related questions
Explained how to convince manager/scrum master for code change...
I applied via Internshala and was interviewed in May 2021. There were 3 interview rounds.
Discussing my resume highlights my skills, experiences, and projects relevant to the software engineering role.
Experience with Java and Python in developing web applications.
Led a team project that improved application performance by 30%.
Contributed to open-source projects, enhancing my coding skills and collaboration.
Completed an internship at XYZ Corp, where I developed a feature that increased user engagement.
I appeared for an interview before Dec 2020.
Round duration - 100 Minutes
Round difficulty - Medium
You are provided with a singly linked list and an integer K
. The objective is to make the Kth
node from the end of the linked list the starting node of the linked list.
Given a singly linked list and an integer K, rearrange the list such that the Kth node from the end becomes the starting node.
Traverse the linked list to find the length and the Kth node from the end.
Update the pointers to rearrange the list accordingly.
Handle edge cases like K being equal to 1 or the length of the list.
Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.
The first line contains an...
Check if given strings containing parentheses are balanced or not.
Use a stack to keep track of opening parentheses
Iterate through the string and push opening parentheses onto the stack
When a closing parentheses is encountered, pop from the stack and check if it matches the corresponding opening parentheses
If stack is empty at the end and all parentheses are matched, the string is balanced
Round duration - 120 Minutes
Round difficulty - Medium
You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of the alien language from this dictiona...
Given a sorted alien dictionary in an array of strings, determine the character order of the alien language.
Iterate through the dictionary to build a graph of character dependencies based on adjacent words.
Perform a topological sort on the graph to determine the character order.
Return the character array representing the order of characters in the alien language.
You are given an array/list CHOCOLATES
of size 'N', where each element represents the number of chocolates in a packet. Your task is to distribute these chocolates among 'M'...
Distribute chocolates among students to minimize the difference between the largest and smallest number of chocolates.
Sort the array of chocolates in ascending order.
Iterate through the array and find the minimum difference between the elements by considering 'M' elements at a time.
Return the minimum difference found as the result.
Round duration - 120 Minutes
Round difficulty - Medium
You are provided with a square matrix of non-negative integers of size 'N x N'
. The task is to rotate this matrix by 90 degrees in an anti-clockwise directi...
Rotate a square matrix by 90 degrees anti-clockwise without using extra space.
Iterate through each layer of the matrix from outer to inner layers
Swap elements in groups of 4 to rotate them in place
Handle odd-sized matrices separately by adjusting the loop boundaries
Given a binary string S
of length N
where initially all characters are '1', perform exactly M
operations, choosing from four specific operations, and determine how many dis...
Count the number of distinct final strings possible after performing a given number of operations on a binary string.
Iterate through all possible combinations of operations to determine the final string after each operation.
Use bitwise operations to efficiently flip the bits based on the chosen operation.
Keep track of distinct final strings using a set data structure.
Return the size of the set as the number of distinct...
Round duration - 120 Minutes
Round difficulty - Medium
Given a list of integers of size N
, your task is to determine the Next Greater Element (NGE) for every element. The Next Greater Element for an element X
is the firs...
Find the Next Greater Element for each element in a list of integers.
Iterate through the list of integers from right to left.
Use a stack to keep track of elements for which the Next Greater Element is not yet found.
Pop elements from the stack until a greater element is found or the stack is empty.
Assign the Next Greater Element as the top element of the stack or -1 if the stack is empty.
Tip 1 : Practice Medium level question.
Tip 2 : Do atleast 2 projects
Tip 3 : More Focus on your Communication skill
Tip 1 : Full Command on your resume and make short atleast 1 page with normal color and font.
Tip 2 : Have mentioned some good projects on resume.
What people are saying about TCS
I appeared for an interview in Dec 2020.
Round duration - 40 minutes
Round difficulty - Easy
Given an integer array ARR
of size N
, your task is to find the total number of subsequences in which all elements are equal.
A subsequence of an array i...
Count the total number of subsequences in which all elements are equal in an integer array.
Iterate through the array and count the frequency of each element.
Calculate the total number of subsequences for each element using the formula (frequency * (frequency + 1) / 2).
Sum up the total number of subsequences for all elements and return the result modulo 10^9 + 7.
Tip 1 : Do practice as much as you can
Tip 2 : Coding is key to crack
Tip 1 : It should look nice
Tip 2 : Skills should be mentioned properly
To debug a particular program without affecting others, use breakpoints and step through the code.
Set a breakpoint in the program you want to debug
Step through the code using a debugger to identify the issue
Use logging statements to track the flow of the program
Check the call stack to see which functions are being called
Use conditional breakpoints to stop the program at specific points
I applied via Campus Placement and was interviewed before Aug 2021. There were 3 interview rounds.
The first round was an aptitude test with questions ranging from basic mathematical concepts to logical/analytical questions. English was also included in the test. The difficulty was medium and I was able to solve 70-80% of the questions.
Two coding questions were the part of the test. I was supposed to solve and pass all the test cases for both the questions. The coding questions tested my knowledge in the field of arrays, loops and pointers. I was able to solve one and partially solve another.
I applied via Campus Placement and was interviewed before Sep 2021. There were 4 interview rounds.
Prepare normal for aptitude - maths, quant, analytic
My GD topic was Is internet good for students or not
I didn't attempt this as I was noob back in third year Engg
I applied via Campus Placement and was interviewed before Sep 2021. There were 3 interview rounds.
It was from college placement, basic question such as relative velocity, ratio and proportion, unitary method and 2 programmin question
Don't remember it was 2 years ago
I applied via Campus Placement and was interviewed before Feb 2020. There were 4 interview rounds.
If and Switch Case statements are used for conditional branching in programming.
If statements are used for simple conditional branching.
Switch Case statements are used for multiple conditional branching.
If statements are more flexible than Switch Case statements.
Switch Case statements are more efficient than If statements for large number of conditions.
If statements can be nested, but Switch Case statements cannot.
Exam...
Yes, algorithms and pseudocodes are still important in IT Services.
Algorithms are used in various fields of IT such as machine learning, data analysis, and cryptography.
Pseudocodes are used to plan and design algorithms before coding them.
Understanding algorithms and pseudocodes is essential for software engineers to write efficient and optimized code.
Examples of algorithms include sorting algorithms, search algorithms...
Yes, I am comfortable using both CLIs and IDEs for my daily tasks.
I have experience using various CLIs such as Git Bash, Windows Command Prompt, and Terminal on macOS.
I am proficient in using IDEs such as Visual Studio Code, Eclipse, and IntelliJ IDEA.
I understand the benefits and drawbacks of both CLIs and IDEs and can choose the appropriate tool for the task at hand.
based on 1 interview experience
based on 5 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
65.6k
salaries
| ₹7.7 L/yr - ₹12.9 L/yr |
AST Consultant
53.5k
salaries
| ₹12 L/yr - ₹21 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