Pergunta de entrevista da empresa Expedia Group

Surprisingly got some pointer math and C++ syntax that I wasn't prepared for.