Frage im Vorstellungsgespräch bei Palantir Technologies

Leetcode question on bits and string manipulation