Welcome Message

Hi, welcome to my website. This is a place where you can get all the questions, puzzles, algorithms asked in interviews and their solutions. Feel free to contact me if you have any queries / suggestions and please leave your valuable comments.. Thanks for visiting -Pragya.

March 4, 2009

Interview Questions

Q: How many cars are there in the USA?

Sol1: Total number of cars in the USA = (Total number of cars manufactured in the USA + Total number of cars imported in the USA - Total number of cars exported from the USA)

Sol2:
Let
Population = 250 million
People per household = 3
Cars/household = 1
Avg life of car = 10 years

Total cars = ((25 X 10^6) / 3) / 10 - 1

Sol3:
aprox population of USA is x ... and approx population of people ownig cars be say 20 percent or 30 percent ... (minus children, old people, so on) so there so I would go with .25x as number of people with cars and that should give me an approx number of so many cars ...

No comments: