Tip 1 : Solve atleast 2 problems in the first round for getting interview call
Tip 2 : Don't copy someone else solution as they have strict plagiarism detector
Tip 1 : Mention atleast 2 projects
Tip 2 : Don't mention false information on the resume

'N' = 3
First calculate ‘f(1)’, ‘f(2)’ and ‘f(3)’.
‘f(1)’ = ‘2’ as ‘1’ and ‘2’ are co-prime to ‘1’.
‘f(2)’ = ‘2’ as ‘1’ and ‘3’ are co-prime to ‘2’.
‘f(3)’ = ‘3’ as ‘1’, ‘2’ and ‘4’ are co-prime to ‘3’.
Now calculate ‘g(1)’ , ‘g(2)’, ‘g(3)’.
‘g(1)’ as no prime number divides 1, so ‘g(1) = 0’.
‘g(2)’ = ‘f(2/2)’ = ‘f(1) = 2’ as ‘2’ is the only prime number that divides ‘2’.
‘g(3) = ‘f(3/3)’ = ‘f(1) = 2’ as ‘3’ is the only prime number that divides ‘3’.
There were 2 interviewers in this round . It was on Microsoft Teams.
An ant is at the bottom of the wall 35 feet down. It climbs up 2 feet each hour, but later it slips down 1 feet. How long will it take to reach the top of the wall?
Tip 1 : Ant climbs up 2 feet every hour, but slips 1 foot as well. So it succeeds in climbing 1 foot per hour.
Tip 2 : 33 hours, it would have climbed 33 feet. In the 34th hour it would climb further up and reach the top of the wall .
Tip 3 : Answer is 34 hours.



Let the array = [ 4, 2, 1, 5, 3 ]
Let pivot to be the rightmost number.

Use the quick sort algorithm to solve it.
What do you understand by Caching
Tip 1 : Explain the term
Tip 2 : Tell some places in life where caching is used
Tip 3 : Tell how caching is done in the system
What are the ACID properties
Tip 1 : Explain each term of the ACID
Tip 2 : Why is it useful to have acid transaction
What is AJAX ?
Tip 1 : Explain the term
Tip 2 : The benefits and demerits of using ajax
Tip 3 : Any project where you have used it
This was the last round . The interviewer was friendly and was actively involved in the discussion.
Are you comfortable with relocation?
What do you know about the company?
Why do you want to join TCS?
Tip 1 : The answer is always just what you feels
Tip 2 : Prepare it well why you have no problem with relocation

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?