Pergunta de entrevista da empresa Mujin

technical interview - Medium leetcode question in C++