Pergunta de entrevista da empresa Bloomberg

1. 1d candy crush question ( leetcode easy )