Pergunta de entrevista da empresa Whatnot

Regular interview questions. Either 2 coding tasks or 1 coding task with a twist.