only an array of ints. Seems I am wrong. I jut saw that we can heapify an array of tuples too. Tuple has first element as frequency and second element as char. So my question was, how can an array of tuples be heapified?
Like any other array 😂
Обсуждают сегодня