Sign in
Log inSign up
 manga

17 likes

·

604 reads

3 comments

Paul John
Paul John
Apr 6, 2023

thank you

1
·
Royalty
Royalty
Apr 6, 2023

Nice article 💯 A little bitwise trick…

// swap a and b without an extra variable a = a ^ b b = a ^ b a = a ^ b

Try it.

·
·1 reply
 manga
 manga
Author
·Apr 6, 2023

Awesome. Thank you

1
·