Tip 1 : Just be thorough with all the concepts of OOPS, DBMS & Programming Language.
Tip 2 : Practice all the important Coding Questions.
Tip 3 : Be also prepared for HR.
Tip 1 : Proofread your resume numerous times.
Tip 2 : Consider an Online Supplement - No matter how long you’ve been in a job, or how much you’ve accomplished there, you shouldn’t have more than five or six bullets in a given section.



N = 3
A = [ 3, 4, 5 ]
Explanation :
One of the optimal ways to play the game is :
Ninja removes 3 stones from the first pile : [ 0, 4, 5 ].
Friend removes 3 stones from the second pile : [ 0, 1, 5 ].
Ninja removes 3 stones from the third pile : [ 0, 1, 1 ].
Friend removes 1 stone from the second pile : [ 0, 0, 1 ].
Ninja removes 1 stones from the third pile : [ 0, 0, 0 ].
Thus Ninja wins the game here.
Choose a positive integer 'x'.
If any of the boxes contains more than 'x' chocolates, take out the extra chocolates from that box, i.e., if 'A[i]' > 'x', make 'A[i]' = 'x' ( for all 'i' where 1 <= 'i' <= 'N')
1. 'x' can be any positive integer of your choice. It may or may not be present in array 'A'.
2. 'K' is large enough to have at least one 'x' for the operation.
N = 4
K = 5
A = [ 5, 2, 3, 4 ]
In the first operation, choose x = 3, the updated array 'A' becomes [3, 2, 3, 3]. The cost of this operation is (5+2+3+4)-(3+2+3+3) = 3.
In the second operation, choose x = 2, the updated array 'A' becomes [2, 2, 2, 2]. The cost of this operation is (3+2+3+3)-(2+2+2+2) = 3.
After the second operation, all elements in array 'A' become equal. Hence return 2 as our final answer.
We can't choose x = 2 in our first operation, because (5+2+3+4)-(2+2+2+2) = 6 which exceeds K = 5.
Who is your ideal and why so?
How do you deal with failures?
Are you comfortable in relocating, in case the need arises?
Do you have any questions for me?

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: