Swap two numbers using XOR Operator without using extra variable

Опубликовано: 04 Октябрь 2024
на канале: Ashok Dhulipalla
278
5

Bitwise operations in java
   • Bitwise operations in java  
How to find number is even or odd using bitwise operations?
   • How to find number is even or odd usi...  
How to add 1 to a given number using bitwise operations in java?
   • How to add 1 to a given number using ...  
Turn off the rightmost set bit in a binary form of a number
   • Turn off the rightmost set bit in a b...  
How to multiply a given number with 3.5 ?
   • How to multiply a given number with 3...  
Multiply a given number with 7 using left shift operator
   • Multiply a given number with 7 using ...  
Simple way to find a number is power of 2 or not using bits.
   • Simple way to find a number is power ...  
Swap two numbers using XOR Operator without using extra variable
   • Swap two numbers using XOR Operator w...  
Find a number occuring odd number of times in an array without using extra space.
   • Find a number occuring odd number of ...