Tip 1 : Do practice aptitude faithfully because it will help you in cracking the first round.
Tip 2 : Study concepts from different sites like Coding Ninjas, Geeks for Geeks for better understanding.
Tip 1 : Resume should be one pager.
Tip 2 : Mention your job specific projects on the resume.
The mcqs were from different topics like pipes and cisterns, speed and distance etc.
The questions ranged from prime number concepts to one question on linked list.



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.



Input:
'num1' : 1 -> 2 -> 3 -> NULL
'num2' : 4 -> 5 -> 6 -> NULL
Output: 5 -> 7 -> 9 -> NULL
Explanation: 'num1' represents the number 321 and 'num2' represents 654. Their sum is 975.

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: