Amazon Interview Question

LC: Inverted Pascal's triangle verification call is to confirm if you did your work or not