โ† Adobe questions
CodingReported in a candidate post, Dec 2021

Bit Swapping

Filed under Adobe

Given an integer n and two 0-based bit positions i and j, swap the bit at position i with the bit at position j and return the resulting integer.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Adobe questions

Collected from public candidate posts and coding forums. Updated Nov 2026.