Open xuan1905 opened 3 months ago
The paper's Algorithm 1 mentioned two sorted subarrays as the input, but the code only requires a list of summaries as an input.
Could you please explain where the (intermediate) subarrays appeared and how to sort them?
Think about the 'Merge sort' algorithm, where you divide the problem into sub-problems of 'merge two sorted sub-arrays'. This is a typical divide and conquer situation.
The paper's Algorithm 1 mentioned two sorted subarrays as the input, but the code only requires a list of summaries as an input.
Could you please explain where the (intermediate) subarrays appeared and how to sort them?