Tip 1 : Prepare basics of core java
Tip 2 : Prepare spring boot interview questions
Tip 1 : Do not put false things on resume.
Tip 2 : Have some projects on resume.




Used simple for loops to get the specific positions where I can put numbers. Used one more loop to continue increase the number and print them accordingly.



A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements.
You need to print your answer modulo 10^9 + 7.
Let us take A = [1,2,3] and P = 4.
All the subsequences not having product more than ‘4’ are {1}, {2}, {3}, {1,2}, {1,3}. Therefore count is equal to ‘5’.
Step 1 : I first applied bubble sort. It was not good enough.
Step 2 : Interviewer asked me to optimise the solution.
Step 3 : Then i gave solution with merge sort and interviewer was happy.

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?