Step 1: Create an initial table.Create a table with columns for Friend, City, and Company.| Friend | City | Company ||--------|---------|---------|| A | | || B | | || C | Indore | || D | | |
Step 2: Populate the table using given information.1. C went to Indore. (Direct information)2. The person in Nagpur was interviewed by RR.3. A did not go to Nagpur. (Direct information)4. Because C is in Indore, A is not in Nagpur, and the person in Nagpur works for RR, A was not invited by RR.5. B did not go to Gurugram. (Direct information)6. A was not invited by PP or SS. (Direct information)7. B was not invited by RR or PP. (Direct information)
Step 3: Determine who went to Nagpur.Cities are Indore, Noida, Gurugram, Nagpur. C is in Indore. A is not in Nagpur. The person in Nagpur works for RR. B was not invited by RR, so B did not go to Nagpur.Therefore, by process of elimination (D went to Nagpur). And D's company is RR.
Step 4: Determine the companies for A, B, and C.- D's company is RR.- Remaining companies: PP, QQ, SS.- A was not invited by PP or SS, so A's company is QQ.- B was not invited by PP or RR. RR is D's company. Therefore B was not invited by PP.- Remaining companies for B and C are PP and SS. B was not invited by PP, so B's company is SS.- Therefore, C's company is PP.
Step 5: Determine the remaining cities.- C is in Indore. D is in Nagpur.- Remaining cities for A and B are Noida and Gurugram.- B did not go to Gurugram. Therefore, B went to Noida.- Therefore, A went to Gurugram.Final Table:| Friend | City | Company ||--------|----------|---------|| A | Gurugram | QQ || B | Noida | SS || C | Indore | PP || D | Nagpur | RR |Answer to Q39: C's interview was scheduled in company PP.Answer to Q40: D went to Nagpur.