Goldman Sachs Interview Question

Alghorytmic problems, operations on collections, finding elements in pascal’s triangle