Pergunta de entrevista da empresa Broadcom

A pointers question in style of leetcode hard