Find kth smallest in sorted matrix | Meta Interview Question