Amazon Interview Question

About linked list transversal staircase