Amazon Interview Question

Inverted Pascal's Triangle and minimum number of groups