IBM interview question

Bit Manipulation problem was asked

Interview Answer

Anonymous

14 Sept 2023

I coded this to in the interview