Topic: Divide And Conquer Problem / Level: beginner

Problem: Write a divide and conquer algorithm to count the number of distinct subarrays whose sum is less than a given value in a rotated sorted array.

Run the code to see the output here...