TraceLink interview question

API orchestration related problem , Java problem