Ramp Interview Question

some API question, don't exactly remember