Pregunta de entrevista de Amazon

Vertical Order Traversal Sliding Window question