circle array
greedy algo is enough for this
merge sort in linked list