Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
It was good and you need a good knowledge in programming choose any one of the language and be ready with that.



0 <= ‘ARR’[k] <= k
‘ARR’[k] = ‘ARR’[m] mod k, for all pairs of k,m such that k divides m.
Given ‘N’ = 3,
'A' = {0, -1, -1}
Then the answer is 6 because following sequences are possible:[0, 0, 0], [0, 1, 0], [0, 1, 1], [0, 1, 2], [0, 0, 1], [0, 0, 2].
One approach to solve the above question would be to traverse the array and check for the strictly increasing sequence and then check for strictly decreasing subsequence or vice-versa.
Steps :
1. If arr[1] > arr[0], then check for strictly increasing then strictly decreasing as:
• Check for every consecutive pair until at any index i arr[i + 1] is less than arr[i].
• Now from index i + 1 check for every consecutive pair check if arr[i + 1] is less than arr[i] till the end of the array or not. If at any index i, arr[i] < arr[i + 1] then break the loop.
• If the end is reached, the array forms an increasing-decreasing sequence.
2. If arr[1] < arr[0], then check for strictly decreasing then strictly increasing as:
• Check for every consecutive pair until at any index i arr[i + 1] is greater than arr[i].
• Now from index i + 1 check for every consecutive pair check if arr[i + 1] is greater than arr[i] till the end of the array or not. If at any index i, arr[i] > arr[i + 1] then break the loop.
• If the end is reached, the array forms an decreasing-increasing sequence.



For any number ‘num’ all its divisors are always less than and equal to ‘num/2’ and all prime factors are always less than and equal to sqrt(num).
So, iterate through ‘i’ till i<=sqrt(num) and for any ‘i’ if it divides ‘num’ , then we get two divisors ‘i’ and ‘num/i’ , continuously add these divisors but for some numbers divisors ‘i’ and ‘num/i’ will be the same, in this case just add only one divisor. Finally, add one as one is divisor of all natural numbers.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?