Zagaran interview question

To test knowledge about APIs and logic thinking