T-Mobile Interview Question

Medium Level Leet code which required Bit level manipulation. It was a problem that has 1000+ dislikes and about 200 likes.