Tip 1 : Solve as many questions and learn as many concepts as you can from gfg and leetcode.
Tip 2 : Solve the questions on notepad or notebook because there you won't get an editor to point out your mistakes.
Tip 3 : Submit your code when you are completely satisfied because there you won't get to run and debug your code.
Tip 1 : Keep it 1 page short and catchy.
Tip 2 : Do not brag in your Resume your resume should be honest and should represent exactly what you are.



1) Subtract 1 from it. (n = n - 1) ,
2) If n is divisible by 2, divide by 2.( if n % 2 == 0, then n = n / 2 ) ,
3) If n is divisible by 3, divide by 3. (if n % 3 == 0, then n = n / 3 ).
Given:
‘N’ = 4, it will take 2 steps to reduce it to 1, i.e., first divide it by 2 giving 2 and then subtract 1, giving 1.
Tip 1 : First think of the brute force approach and then optimise it .
Tip 2 : Analysis if problems is very important.
Tip 3 : First Question was of dynamic programming so I guess in such Questions recursive solution is easier and I would go for it.
My interview was held from 3 to 3:50 and 4 to 4:50 in the evening . I sat in a silent place of my room with no disturbances in my room.
The interviewer first asked me to introduce myself then he did the same, he then gave me a problem of sliding window and we discussed to reach on a optimal solution then I wrote the code for it . Then he asked me to ask if I had any questions , I asked some questions regarding their work culture , what do they expect from me and what work will I be given there as an SDE -intern. Second interview was almost the same the problem was of dynamic programming .



I have already given the description in the previous round.



If N = 7 and K = 3, and the input array is:
{1, 2, 3, 4, 5, 6, 7}
After removing the first three elements, the resulting array now becomes {4, 5, 6, 7} and the sum of the remaining array is equal to 22.
Removing any other combination of three elements will always result in the remaining array sum less than 22.

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?