takeUforward
count-inversions-in-an-array - Tutorial