Swap 3rd and 5th bit of a number
Filed under Ivanti
The question
Given a number, swap its 3rd and 5th bit and return the resulting number.
No write-up yet. Related questions below have one.
Related Ivanti questions
Collected from public candidate posts and coding forums. Updated Nov 2026.