Samsara interview question

Two sum, bit manipulation, and another medium difficulty leetcode question that I don’t remember.