Pergunta de entrevista da empresa Smartsheet

Better not share but typical simple algorithms questions.