An IT business analyst works within the context of IT projects in order to buy or modify some software and works closely with business and technical stakeholders and is responsible for gathering the requirements that originate from the business.

Thursday, July 22, 2010

Interview questions

Question: How to swap two variables, without using third variable ?
Answer: use xor to swap:

a = a^b
b= a^b
a= a^b

No comments:

Post a Comment