Pergunta de entrevista da empresa DRW

Two leetcode mediums-hards based on arrays