The first part is insanely confusing. Just do |P1 P2 P3 ... Pn| |S1 S2 S3 ... Sn| This is equivalent than applying a permutation to the people and seats (but way less confusing) And DON'T mix logic-0 with logic-1. Are you insane? The induction is helpful.
Thank you... you explanation is awesome!
Thankyou very much.
Welcome!
If 1st person deliberately not take his seat. Then what will be the solution?
The first part is insanely confusing. Just do
|P1 P2 P3 ... Pn|
|S1 S2 S3 ... Sn|
This is equivalent than applying a permutation to the people and seats (but way less confusing)
And DON'T mix logic-0 with logic-1. Are you insane?
The induction is helpful.