Prerequisites: Segment Trees and Merge-Sort.
Motivation: Given an array of N integers. You have to answer some queries in form (l, r, k). To answer this query you have...
is there any code in java for merge sort tree available online?