US Navy interview question

Related to objects arrays and rest api