Tip 1 : Get your reasoning skills strong
Tip 2 : Practice of aptitudeand coding questions
Tip 1 : Mark skills Bold letters
Tip 2 : mention projects on resume
- Morning time
- Environment was good.
- No
- Interviewer was good



Let’s say you have an array/list ‘ARR = [1,1,2,2]’.
Then a valid rearrangement can be [1,2,1,2] or [2,1,2,1] such that no two adjacent elements are equal. [2,1,1,2] is an invalid arrangement because two adjacent elements are equal.
s1- The first test case
s2- The given array already satisfies the required condition. Here for each
s23- The second test case
s4- There is no way to reorder the elements of the given array to satisfy the required condition.
The third test case
One possible reordering is [5, 2, 7, 2, 1].



An array is called good if the sum of elements in odd indexes is equal to the sum of elements in even indexes.
In array A= [1 2 4 3 6], if we delete A[4]=6, we will get new array B= [1 2 4 3], where B[0] + B[2] = B[1] + B[3] = 5, which means array B is good.









‘B’ = 4, ‘S’ = “4321”, ‘K’ = 3.
The given number is not stable as ‘S[3]’ is not the same as ‘S[0]’ but 3%3 = 0 same as 0%3. ‘S[3] = 1’ and ‘S[0] = 4’. But the number “4324” is stable. As, for all ‘i’, ‘S[i]’ = ‘S[i%K]’ and “4324” is also greater than the given number. It can be proved that this is the best possible answer.
Hence, the answer is “4324”.
- Morning time
- Environment was good.
- No
- Interviewer was good
- Tell me about yourself
How would you describe yourself?
Have you ever been terminated from a job?
What three factors do you attribute to your success in life?
Tip 1 : Communicate well with interviewer
Tip 2 : Think once then speak
Tip 3 : I practice with my brother for HR interviews

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?