I got into problem to find the gaps in traffic.
Given data:
n = 10 #size of array start = [3,8] finish = [4, 9]
Output: