Message on Whatsapp 8879355057 for DSA(OA + Interview) + Fullstack Dev Training + 1-1 Personalized Mentoring to get 10+LPA Job
0 like 0 dislike
1,963 views

All past online assesments of Amazon can be found using the tag "amazon_oa" in the search bar.

Here is the link : https://www.desiqna.in/tag/amazon_oa

in Online Assessments by Expert (34,270 points) | 1,963 views

1 Answer

0 like 0 dislike
Best answer
Find number of possible subarrays from an array , where max and min difference of elements in subarray is less than the given limit.

input : limit ,array
output : return count of all possible combinations
by Expert (34,270 points)
selected by