Loading...
Engaged employer
Swap two variables without using a temp.
Anonymous
in c/c++: x^=y^=x^=y;
a= a*b; b = a/b; a = a/b;
+/- is correct even with overflow
You don't want to use +-/* as you might face under/overflow.
Can be done using adding/subtracting, multiply/divide, xor.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.
Get actionable career advice tailored to you by joining more bowls.
Check out your Company Bowl for anonymous work chats.