Duolingo Interview Question

coding an api question a