Tip 1 : cover all basic topics.
Tip 2 : practice atleast 2 per day in coding from platforms like codingninjas,hackerrank,codechef.
Tip 3 : prefer one language and practice in depth and have idea on syntaxes in all other programming languages.
do mini projects
Tip 1 : maintain in 2 pages
Tip 2 : needed all your knowledge not your personal details
There will be 6 coding problems, Each question will have 1hr time
2-easy
2-medium
2-hard
If you solve atleast one problem,you will be qualified


. * .
* * *
* . *
* * *
* * *
* * *
* * *
. * .
* * *
* * *
* . *
* * *
* . *
* . *
* * *
It is guaranteed that no two constellations are overlapping.


Venus: Decreases health by 4, decreases armour by 8.
Mars: Increases health by 3, increases armour by 2.
Saturn: Decreases health by 10, increases armour by 5.
You can choose any of the 3 planets during your first move.



Let ‘ARR1’ = [1, 5, 10, 15, 20] and ‘ARR2’ = [2, 4, 5, 9, 15]
In this example, common points are 5, 15.
First, we start with ARR2 and take the sum till 5 (i.e. sum = 11). Then we will switch to ‘ARR1’ at element 10 and take the sum till 15. So sum = 36. Now no element is left in ‘ARR2’ after 15, so we will continue in array 1. Hence sum is 56. And the path is 2 -> 4 -> 5 -> 10 -> 15 -> 20.




If the given array is [2, 1, 5, 7] and K = 9 and M = 3. Then you need to return true because we can divide the array into two pairs, i.e (2, 1) and (5, 7) whose sums are 3 and 12, which when divided by 9 gives remainder 3, thus it is possible to divide the given array into pairs.
Every element of the array should contribute to only one pair, i.e if the array is [3, 0, 0] and K = 2 and M = 1, then you need to return false, as element 3 will make a pair with any one of the 0.



1. Day starts with hour 1 and ends with hour ‘DAY_HOURS’.
2. Each hour of the prime group should be in a different part of the day.
3. If there is no prime group then return zero.
4. ‘DAY_HOURS’ should be divisible by ‘PARTS’, meaning that the number of hours per part (DAY_HOURS/PARTS) should be a natural number.
Let ‘DAY_HOURS’ = 20 and ‘PARTS’ = 2
Hence the view of our day would be in the following format:
1 2 3 4 5 6 7 8 9 10 - Part 1
11 12 13 14 15 16 17 18 19 20 - Part 2
1-11 Not a prime group because 1 is not prime.
2-12 Not a prime group because 12 is not prime.
3-13 Because both 3 and 13 are prime, it is an equivalent prime group.
4-14 Not a prime group because 4 and 14 are not prime.
5-15 Not a prime group because 15 is not prime.
6-16 Not a prime group, because 6 and 16 are not prime.
7-17 Because both 7 and 17 are prime, it is an equivalent prime group.
8-18 Not a prime group, because 8 and 18 are, is not prime.
9-19 Not a prime group because 9 is not prime.
10-20 Not a prime group because both 10 and 20 are not prime.
Hence there are 2 equivalent prime groups in the above format which are 3-13 and 7-17.
As this was technical round , they asked me about the coding problems that i solved and asked me to explain.
And they asked some DSA topics , explained.
Then they gave on problem and said to write code for it, then i wrote it.
By this i completed my TR



1. Day starts with hour 1 and ends with hour ‘DAY_HOURS’.
2. Each hour of the prime group should be in a different part of the day.
3. If there is no prime group then return zero.
4. ‘DAY_HOURS’ should be divisible by ‘PARTS’, meaning that the number of hours per part (DAY_HOURS/PARTS) should be a natural number.
Let ‘DAY_HOURS’ = 20 and ‘PARTS’ = 2
Hence the view of our day would be in the following format:
1 2 3 4 5 6 7 8 9 10 - Part 1
11 12 13 14 15 16 17 18 19 20 - Part 2
1-11 Not a prime group because 1 is not prime.
2-12 Not a prime group because 12 is not prime.
3-13 Because both 3 and 13 are prime, it is an equivalent prime group.
4-14 Not a prime group because 4 and 14 are not prime.
5-15 Not a prime group because 15 is not prime.
6-16 Not a prime group, because 6 and 16 are not prime.
7-17 Because both 7 and 17 are prime, it is an equivalent prime group.
8-18 Not a prime group, because 8 and 18 are, is not prime.
9-19 Not a prime group because 9 is not prime.
10-20 Not a prime group because both 10 and 20 are not prime.
Hence there are 2 equivalent prime groups in the above format which are 3-13 and 7-17.
Hr round was about basic details about family.
1) Intro of us
2) Background
3) Location that we want(mostly as per TCS Guidelines will be the answer)
4) Will you be comfortable as any place, at any environment...
Documents verifications will be there

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: