Tip 1: Be thorough with your basics – Data Structures and Algorithms, Pointers, DBMS, OOPS, OS, etc.
Tip 2: Practice Competitive Programming and improve your programming skills. (Take a data structures course from CN. That’s enough for cracking any service-based or product-based company). Practice questions on online coding platforms.
Tip 3: Be confident in your answers. You should not fumble while answering.
Tip 4: Also, practice aptitude well. Managing time during the test is an important skill.
Tip 5: Work on good projects using recent technologies (ML, Web D, Blockchain, Analytics, etc.). Have in-depth knowledge about the project, as the interviewer may go deep and ask difficult questions.
Tip 6: Start your preparation as early as possible and work on your communication skills as well.
Tip 1: Mention good projects.
Tip 2: Write about things you're 100% sure you can answer questions on.
Tip 3: Do not try to appear high profile by mentioning too many skills, projects, or extracurriculars on your resume.
Online test. The test consisted of two parts:
Timing: Morning 10:00-11:30. The platform used was Mettl.
English: 15 questions in 10 minutes. The questions covered topics such as synonyms/antonyms, critical thinking, and passage-based questions. The difficulty level ranged from easy to medium.
Aptitude: 25 questions in 40 minutes. The questions covered topics such as Simple Interest, Profit and Loss, Permutations and Combinations, Blood Relations, etc. The difficulty level ranged from medium to hard.
Coding problems: There were 2 coding questions.



I solved using sliding window technique.



Below is the example showing the input tree and its sum tree.

I solved it using preorder traversal.
There were two questions in this test:



Keep the frequency of each character in an array. Mainly, hashing helped me solve this problem.


X = 2 ^ NUM[1] * 3 ^ NUM[2] * 5 ^ NUM[3] * 7 ^ NUM[4] * 11 ^ NUM[5] * … up to Nth term
1. Sum of all the elements in the array 'NUM' will always be less than or equal to 400.
2. As the total number of such sequences can be very large, print the answer modulo 1000000007.
Binary search implementation.
Why C++? The difference between C++ and C. (Learn)
What are constructors? Why are they used? What is the syntax for writing a constructor? (Learn)
What is OOPS? Explain the four pillars of OOPS with examples. (Learn)
What is foreign key, candidate key, and primary key? (Learn)
Different sorting algorithms. (Learn)
What is big data, machine learning, and IoT? (Learn) (They do not expect formal definitions. Support your answers with examples.)
They gave some code snippets and asked whether the code was right or wrong, as well as some output prediction questions. These questions were a little tricky.
They also asked me to write code in an online compiler. In my case, the code was based on Binary Search.
A brief discussion about the projects mentioned in the resume.
About relocation, plans for further study, different products of TCS, whether I had any issues working in shifts, and whether I had any backlogs or year gaps.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?