Topic: Divide And Conquer Problem / Level: beginner

Problem: Write a divide and conquer algorithm to count the number of distinct subarrays in an unsorted array.

Run the code to see the output here...