Ramp Interview Question

Simple backend task, LC easy + API use