IBM Interview Question

DSA questions with medium difficulty around arrays, strings and heaps.