Booz Allen Hamilton Interview Question

Solve a logic problem using only API calls