gmatmachoman wrote:
praveen bhai,
i am clueless!!Explain me more!!
Ok Let me start again:
XYZ hotel has 18 people
ABC hotel has 42 people
33 prefer to stay in XYZ
27 prefer to stay in ABC
You would have understood till this point.
We want to know the maximum number of people not given accommodation at their preferred hotel.
ABC hotel has 42 people. How many of those 42
preferred not to stay in ABC? This we do not know.
We need to maximize this count as much as possible.
So to arrive at that point, we are assuming that the 33 people
who preferred to stay in XYZ are all
placed in ABC.
That brings us to say that 42-33=
9 people, placed in ABC, actually preferred to stay in ABC.
How many people are we left with now - Who preferred to stay in ABC?
27 - 9 =
18 people are left who preferred to stay in ABC. But there is no place for them.
So they are placed in XYZ.
XYZ has all these 18 people. [it has no one who preferred to stay in XYZ]
Hence, Finally,
How many people are placed in ABC but prferred XYZ: 33
How many people are placed in XYZ but prferred ABC: 18
Total 18 + 33 = 51
Hope this helps, let me know if you have any issues.
Praveen