Pergunta de entrevista da empresa Palantir Technologies

Leetcode question on bits and string manipulation