Kth Smallest in a Growing Array

Company: TCS

Difficulty: hard