Adding micrsoft questions, wil add the solution tomororw. too tired after a 4 hrs interview