Pergunta de entrevista da empresa Yext

2 technical questions, about 30 minutes each. Grid-based coordinate system problem.