Loading...
Is this your company?
Swap two numbers while not using the temp variable.
Anonymous
a = a+b; b = a -b; a= a- b;
using the XOR operator
a = a ^ b b = a ^ b a = a ^ b This will avoid over flows which might come in addition steps
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.