Rippling Interview Question

Leet-code style questions, just not well defined and explained