Pergunta de entrevista da empresa BNSF Railway

API endpoint and handler functions in Java