Pergunta de entrevista da empresa Teads

Code review - I was given a problem statement and asked to review a code base. There were expectations to discuss on the scenarios possible, Time complexity and all. This is more kind of PR review