Tip 1 : Practice daily question of DS algo
Tip 2 : Prepare all your projects
Tip 3 : Daily practice of aptitude
Tip 1 : Resume should contains only those skills that you know
Tip 2 : Add good projects and add github link to it also
This round Consists of Mcqs(English , Aptitude) and coding questions to solve



String 'S' is NOT case sensitive.
Let S = “c1 O$d@eeD o1c”.
If we ignore the special characters, whitespaces and convert all uppercase letters to lowercase, we get S = “c1odeedo1c”, which is a palindrome. Hence, the given string is also a palindrome.
Our approach will be that we will first convert the string to lowercase. Then, we will take two pointers i pointing to the start of the string and j pointing to the end of the string. Keep incrementing i and decrementing j while i < j and at every step check whether the characters at these pointers are same or not. If not then the string is not a palindrome else it is.



A naive approach is to start from the first element and recursively call for all the elements reachable from first element. The minimum number of jumps to reach end from first can be calculated using minimum number of jumps needed to reach end from the elements reachable from first.
minJumps(start, end) = Min ( minJumps(k, end) ) for all k reachable from start
I feel i was able to give optimized approaches



1) A prime number is a number that has only two factors: 1 and the number itself.
2) 1 is not a prime number.
Approach 1:-
First, take the number N as input.
Then use a for loop to iterate the numbers from 1 to N
Then check for each number to be a prime number. If it is a prime number, print it.
Approach 2 :-
use Sieve of Eratosthenes which is used to get all prime number in a given range and is a very efficient algorithm.




If we are given the above binary tree as input then moving from root node(5) to the farthest leaf node(50), the path formed will be [ 5->10->25->35->40->45->50 ]. The total number of nodes encountered is 7, therefore the maximum depth of the binary tree is 7.
Recursively calculate height of left and right subtrees of a node and assign height to the node as max of the heights of two children plus 1
The interviewer first Check my Documents and then Ask Basic Hr questions.
Tell us about yourself
what do you know about TCS and what are your expectations from the company.
One person you admired and why?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: