Swap Two Nibbles
🚀 Feature
Given a byte, swap the two nibbles in it.
For example 100 is be represented as 01100100 in a byte (or 8 bits). The two nibbles are (0110) and (0100). If we swap the two nibbles, we get 01000110 which is 70 in decimal.
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
I want to solve this issue as a part of CH20.
Pitch
It is a good bit manipulation problem.
Assignees
- C++: @mahimagoyalx
- Java: @ritvij14
- Python: @narayan2111
- C: @ag278
I would like to implement this in C++ as a part of CH20. @HarshCasper @SKAUL05 @atarax665 @Abhijit2505 @iamrajiv Please assign me this issue. Thank you!
I would like to take this in Java for CH20.
I would like to work on this issue in python
I would like to solve this issue in C for CH20
I would like to do this in C#
We are logging the scores for the Contributor's Hack 2020. If you have one or more than one PR merged during the program, make sure to fill this form
Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Telegram or ping one of the reviewers. Thank you for your contributions!