Linear Arrangements with Two Attributes: Rows and Grid Puzzles
In these puzzles each person has a seat in a row and also something else, such as a favourite colour, home city, profession or day. Clues mix the two, for example 'the person from Lahore sits next to Ravi', so you must track two kinds of information at once. They are the backbone of IBPS PO puzzle sets and appear in GAT, NTS and ISSB reasoning in shorter forms.
Asked in: GAT, HAT, NTS, ISSB, SSC CGL, IBPS PO, CAT
Draw a table, not just a row
Write the seat numbers 1, 2, 3 and so on across the top (left to right for a row facing north) and keep one line under them for names and one for each attribute.
Fill a cell only when it is certain. Keep possible values as small pencil notes, so you can see at a glance what is still open.
Linking clues: attribute to seat
A clue like 'the person who likes red sits immediately to the left of Dua' links an attribute to a position, not to a name. Place Dua first, then mark the seat on her left as red.
When an attribute and a name are joined ('Bina likes green and sits at an end'), treat them as one block and move them together while testing cases.
Grid logic without a row
When there is no seating, make a grid with people down the side and every attribute value across the top. Put a cross for every 'no' and a tick for every 'yes'; a tick in a row means crosses in the rest of that row and column.
Clues joining two attributes ('the engineer is from Multan') are best handled as pairs: whoever has one must have the other, and anyone who cannot have one cannot have the other.
Rows facing south
If people face south, their right is towards the west and their left towards the east. Draw seats west to east on paper and mirror every left-right clue, including 'left end' and 'right end'.
Mixed rows (some facing north, some south) need a facing arrow under each person before any left-right clue is used.
- Facing north: right = towards east
- Facing south: right = towards west
Case splitting and checking
Clues like 'X sits at one of the ends' or 'exactly two people sit between X and Y' give two or more cases. Draw each case in its own row of the table and carry on; a later clue usually kills all but one.
When one arrangement remains, re-read every clue against it. This catches the most common slip: reading 'second to the left' as the next seat.
- Exactly k people between X and Y β seats differ by k + 1
Solved examples
- Asad, Bushra, Chand and Diya sit in a row facing north, and each likes a different colour among red, blue, green and white. Diya sits at the left end and Bushra sits immediately to her right. Chand sits at the right end and likes blue. The person who likes green sits immediately to the left of Asad. Asad does not like red. Who likes red?
- Seats from the left: Diya 1, Bushra 2, Chand 4, so Asad is 3.
- Green is immediately left of Asad, which is seat 2: Bushra likes green.
- Chand likes blue. Red and white remain for Diya and Asad, and Asad does not like red.
Answer: Diya (Asad likes white) - Hamid, Indu and Junaid are a pilot, a banker and a chef, and come from Karachi, Pune and Faisalabad, one each. Hamid is not the pilot. The chef is from Pune. Indu is from Karachi. Junaid is not the chef. The banker is not from Karachi. Find each person's job and city.
- Make a grid with names down the side and jobs and cities across the top; mark each 'no' with a cross.
- The chef is from Pune, so Indu (Karachi) is not the chef; Junaid is not the chef either. So Hamid is the chef, from Pune.
- Indu is from Karachi, and the banker is not from Karachi, so Indu is the pilot and Junaid the banker.
- Junaid takes the last city, Faisalabad.
Answer: Hamid: chef, Pune; Indu: pilot, Karachi; Junaid: banker, Faisalabad - Kiran, Laraib, Manoj, Nadir and Pari sit in a row facing north. Exactly two people sit between Kiran and Manoj. Laraib sits in the middle. Nadir sits immediately to the right of Manoj. Pari does not sit at the right end. Find the order.
- Two people between Kiran and Manoj means their seats differ by 3: seats 1 and 4, or 2 and 5, in either order.
- Laraib is in seat 3. Nadir needs the seat just right of Manoj, so Manoj cannot be in seat 5, and Manoj in seat 2 would put Nadir in Laraib's seat.
- If Manoj is in seat 1, Nadir is in 2, Kiran in 4 and Pari is forced into seat 5, which is not allowed.
- So Manoj is in seat 4, Nadir 5, Kiran 1 and Pari 2.
Answer: Kiran, Pari, Laraib, Manoj, Nadir - Ruby, Sajid, Tara and Waleed sit in a row facing south. Ruby sits at the extreme right end. Sajid sits immediately to the left of Ruby. Tara does not sit at the extreme left end. Who sits second to the left of Sajid?
- Draw the row from west to east as seats 1 to 4. People facing south have their right towards the west and their left towards the east.
- Ruby's right end is the west end, seat 1. Sajid on her left is seat 2.
- The left end is seat 4, so Tara is not there; Tara is in seat 3 and Waleed in seat 4.
- Second to Sajid's left means two seats east of seat 2, which is seat 4.
Answer: Waleed - Ayan, Meher, Rohit and Saima each buy a different fruit (apple, banana, mango, grapes) on a different day from Monday to Thursday. Meher buys on Monday. Rohit buys on neither Tuesday nor Wednesday. Ayan buys on the day just before Saima. Grapes are bought on Thursday. The mango is bought on the day just before the banana. Saima buys neither mango nor apple. Who buys the mango?
- Days: Meher Monday, Rohit Thursday, so Ayan and Saima share Tuesday and Wednesday; Ayan is first, so Ayan Tuesday and Saima Wednesday.
- Grapes are on Thursday, so Rohit buys grapes. Saima must then buy banana (not mango, apple or grapes).
- The mango is bought the day before the banana (Wednesday), so on Tuesday by Ayan. Meher buys the apple.
Answer: Ayan - Bilal, Chhaya, Dev, Ghazala and Imran sit in a row facing north and come from Multan, Bhopal, Hyderabad, Rawalpindi and Patna, one each. The person from Bhopal sits in the middle. Bilal sits immediately to the right of the person from Bhopal, and Ghazala sits immediately to the left of Bilal. Chhaya sits second to the left of Bilal. Dev is from Hyderabad and sits at an end, but not the left end. The person from Rawalpindi sits immediately to the right of Ghazala. Imran is not from Multan. Who is from Multan?
- Bhopal is seat 3 and Bilal seat 4, so Ghazala (just left of Bilal) is seat 3 and from Bhopal.
- Chhaya is seat 2. Dev is at the right end, seat 5, so Imran is seat 1.
- Rawalpindi is just right of Ghazala, so Bilal is from Rawalpindi.
- Multan and Patna remain for Imran and Chhaya; Imran is not from Multan, so Chhaya is from Multan and Imran from Patna.
Answer: Chhaya
Exam shortcuts
- Start with clues that fix a seat outright (in the middle, at the right end), then chain the 'immediately next to' clues.
- Keep name-attribute blocks together ('Bina, green') while testing cases; it halves the work.
- Use 'not' clues (does not like blue, not at an end) at the end to choose between cases.
- In grid puzzles, look for the person or value with the most crosses; it is usually the first one you can fix.
- For rows facing south, draw west to east and write 'R β β L' above the row before reading clues.
Common mistakes
- Treating 'the person who likes red' as a named person and fixing the wrong seat.
- Counting 'exactly two people between' as a difference of two seats instead of three.
- Using your own left and right for people facing south.
- Stopping after one case seems to work, without checking that the other case really fails.
Practice MCQs
- Four friends, Ali, Bina, Chetan and Dua, sit in a row facing north, and each likes a different colour among red, blue, green and yellow. Chetan sits at the extreme right end. The person who likes Red sits immediately to the left of Dua. Bina likes Green and sits at one of the ends. Dua does not like Blue. Who likes yellow?
A) Ali
B) Chetan
C) Bina
D) Dua
Answer: D) Dua β Chetan is at the right end, so Bina (at an end) is at the left end. Ali and Dua take the middle seats. If Dua were second, the Red lover on her left would be Bina, who likes Green; so Dua is third and Ali, second, likes Red. Dua does not like Blue, so she likes Yellow and Chetan likes Blue. Ali likes Red and Bina Green, so neither can be the Yellow lover. - Four friends, Ali, Bina, Chetan and Dua, sit in a row facing north, and each likes a different colour among red, blue, green and yellow. Chetan sits at the extreme right end. The person who likes Red sits immediately to the left of Dua. Bina likes Green and sits at one of the ends. Dua does not like Blue. Which colour does the person sitting second from the left like?
A) Yellow
B) Red
C) Green
D) Blue
Answer: B) Red β The order from the left is Bina (Green), Ali (Red), Dua (Yellow), Chetan (Blue). Second from the left is Ali, who likes Red. Yellow belongs to the third seat, Green to the first and Blue to the last. - Five people, Faisal, Gita, Hassan, Isha and Jawad, sit in a row facing north. Each is from a different city among Lahore, Delhi, Karachi, Mumbai and Quetta. Faisal sits exactly in the middle. The person from Delhi sits immediately to the right of Faisal. Gita sits at one of the ends and is from Karachi. Hassan sits second to the left of the person from Delhi. Jawad sits immediately to the left of Gita. The person from Lahore sits immediately to the left of the person from Quetta. Isha is not from Lahore. Who is from Mumbai?
A) Isha
B) Hassan
C) Faisal
D) Jawad
Answer: A) Isha β Faisal is third, the Delhi person fourth and Hassan second. Jawad is just left of Gita, and Gita is at an end, so Gita is fifth and Jawad fourth (from Delhi); Isha is first. Of Lahore, Quetta and Mumbai for seats 1 to 3, Lahore must be just left of Quetta: either seats 1 and 2 or seats 2 and 3. Isha in seat 1 is not from Lahore, so Hassan is from Lahore, Faisal from Quetta and Isha from Mumbai. Jawad is from Delhi. - Five people, Faisal, Gita, Hassan, Isha and Jawad, sit in a row facing north. Each is from a different city among Lahore, Delhi, Karachi, Mumbai and Quetta. Faisal sits exactly in the middle. The person from Delhi sits immediately to the right of Faisal. Gita sits at one of the ends and is from Karachi. Hassan sits second to the left of the person from Delhi. Jawad sits immediately to the left of Gita. The person from Lahore sits immediately to the left of the person from Quetta. Isha is not from Lahore. Who sits second to the right of the person from Lahore?
A) Gita
B) Isha
C) Jawad
D) Faisal
Answer: C) Jawad β The order is Isha (Mumbai), Hassan (Lahore), Faisal (Quetta), Jawad (Delhi), Gita (Karachi). The Lahore person is Hassan in seat 2, so second to his right is seat 4, Jawad. Gita is third to his right, Isha is on his left, and Faisal is immediately to his right. - Four friends, Kashif, Lata, Moin and Nisha, are a doctor, an engineer, a lawyer and a teacher, in some order, and come from Islamabad, Pune, Multan and Chennai, one each. Kashif is neither a doctor nor from Pune. The engineer is from Multan. Lata is a teacher. Nisha is from Chennai and is not a lawyer. The lawyer is not from Islamabad. Moin is not from Multan. Who is from Islamabad?
A) Lata
B) Kashif
C) Moin
D) Nisha
Answer: A) Lata β Nisha is from Chennai, so she cannot be the engineer (from Multan); she is not the lawyer and Lata is the teacher, so Nisha is the doctor. Kashif and Moin are the engineer and the lawyer. Moin is not from Multan, so he is the lawyer and Kashif the engineer from Multan. The lawyer is not from Islamabad, so Moin is from Pune and Lata from Islamabad. Kashif is from Multan and Nisha from Chennai. - Four friends, Kashif, Lata, Moin and Nisha, are a doctor, an engineer, a lawyer and a teacher, in some order, and come from Islamabad, Pune, Multan and Chennai, one each. Kashif is neither a doctor nor from Pune. The engineer is from Multan. Lata is a teacher. Nisha is from Chennai and is not a lawyer. The lawyer is not from Islamabad. Moin is not from Multan. What is Moin's profession?
A) Engineer
B) Doctor
C) Teacher
D) Lawyer
Answer: D) Lawyer β Lata is the teacher, and Nisha, from Chennai, can be neither the engineer (who is from Multan) nor the lawyer, so she is the doctor. Moin is not from Multan, so he cannot be the engineer; that leaves him as the lawyer, with Kashif as the engineer. - Six people, Omar, Pallavi, Qadir, Rani, Sohail and Tanya, sit in a row facing north. Each likes a different colour among black, white, red, blue, green and pink. Sohail sits at one of the ends and likes red. Exactly two people sit between Sohail and Tanya. The person who likes black sits immediately to the right of Tanya. Omar sits second to the left of the person who likes black. Pallavi likes green and does not sit at an end. Rani sits at one of the ends. The person who likes white sits immediately to the left of the person who likes black. Qadir is not an immediate neighbour of Rani. Omar does not like pink. Who sits second to the left of Pallavi?
A) Omar
B) Qadir
C) Tanya
D) Rani
Answer: C) Tanya β Case 1: Sohail at the left end puts Tanya fourth, Black fifth and Omar third; Rani takes the right end, Pallavi (green, not black, not at an end) is second and Qadir fifth, next to Rani, which is not allowed. Case 2: Sohail at the right end puts Tanya third, Black fourth and Omar second; Rani is at the left end; Pallavi is fifth and Qadir fourth (black). Order: Rani, Omar, Tanya, Qadir, Pallavi, Sohail. Second to Pallavi's left is Tanya. Qadir is immediately to her left, Omar third to her left and Rani fourth. - Six people, Omar, Pallavi, Qadir, Rani, Sohail and Tanya, sit in a row facing north. Each likes a different colour among black, white, red, blue, green and pink. Sohail sits at one of the ends and likes red. Exactly two people sit between Sohail and Tanya. The person who likes black sits immediately to the right of Tanya. Omar sits second to the left of the person who likes black. Pallavi likes green and does not sit at an end. Rani sits at one of the ends. The person who likes white sits immediately to the left of the person who likes black. Qadir is not an immediate neighbour of Rani. Omar does not like pink. Which colour does Rani like?
A) Blue
B) Pink
C) White
D) Black
Answer: B) Pink β The only arrangement is Rani, Omar, Tanya, Qadir, Pallavi, Sohail. White is just left of Black, so Tanya likes white and Qadir black; Pallavi likes green and Sohail red. Omar and Rani share blue and pink, and Omar does not like pink, so Rani likes pink and Omar blue. - Six people, Omar, Pallavi, Qadir, Rani, Sohail and Tanya, sit in a row facing north. Each likes a different colour among black, white, red, blue, green and pink. Sohail sits at one of the ends and likes red. Exactly two people sit between Sohail and Tanya. The person who likes black sits immediately to the right of Tanya. Omar sits second to the left of the person who likes black. Pallavi likes green and does not sit at an end. Rani sits at one of the ends. The person who likes white sits immediately to the left of the person who likes black. Qadir is not an immediate neighbour of Rani. Omar does not like pink. How many people sit between the person who likes blue and the person who likes green?
A) 1
B) 2
C) 3
D) 0
Answer: B) 2 β The arrangement is Rani (pink), Omar (blue), Tanya (white), Qadir (black), Pallavi (green), Sohail (red). The blue lover is in seat 2 and the green lover in seat 5, so Tanya and Qadir sit between them: 2 people. 3 would count one of the two named people, and 1 or 0 skip a seat. - Five people, Uzair, Vandana, Waseem, Yamini and Zubair, sit in a row facing south (so each person's left is towards the east). Each plays a different sport among cricket, hockey, squash, tennis and football. Left and right in the clues are from the sitters' own point of view. Vandana sits at the extreme left end. The cricketer sits exactly in the middle. Yamini sits immediately to the right of Vandana. Zubair sits at one of the ends. Waseem sits immediately to the left of Uzair. The squash player sits immediately to the left of the cricketer. The tennis player sits at one of the ends. Uzair does not play football. The football player sits immediately to the right of the hockey player. Who sits immediately to the left of Uzair?
A) Zubair
B) Yamini
C) Waseem
D) Vandana
Answer: C) Waseem β Facing south, each person's left is east. Vandana is at the left (east) end, and Yamini, on her right, is next to her on the west side. Zubair takes the other (west) end. Waseem is on Uzair's left, that is east of him, so Waseem is in the middle and Uzair between Zubair and Waseem. So the person immediately to Uzair's left is Waseem; Zubair is on his right, and Yamini and Vandana are further to his left. - Five people, Uzair, Vandana, Waseem, Yamini and Zubair, sit in a row facing south (so each person's left is towards the east). Each plays a different sport among cricket, hockey, squash, tennis and football. Left and right in the clues are from the sitters' own point of view. Vandana sits at the extreme left end. The cricketer sits exactly in the middle. Yamini sits immediately to the right of Vandana. Zubair sits at one of the ends. Waseem sits immediately to the left of Uzair. The squash player sits immediately to the left of the cricketer. The tennis player sits at one of the ends. Uzair does not play football. The football player sits immediately to the right of the hockey player. Which sport does the person at the extreme right end play?
A) Football
B) Tennis
C) Hockey
D) Squash
Answer: A) Football β From west to east the seats are Zubair, Uzair, Waseem, Yamini, Vandana, and the right end for south-facing people is the west end, Zubair's seat. Waseem in the middle plays cricket and Yamini, on his left, squash. Tennis is at an end; Uzair plays neither football nor tennis, so he plays hockey, and the football player sits on his right, which is Zubair. Vandana then plays tennis. - Five people, Arsalan, Bhavna, Dilawar, Eman and Gopal, sit in a row facing north. Each comes from a different city among Lahore, Jaipur, Peshawar, Kolkata and Sialkot, and each likes a different colour among red, blue, green, white and yellow. Arsalan sits in the middle and likes red. The person from Jaipur sits immediately to the right of Arsalan. Dilawar sits at the right end and is from Peshawar. The person who likes green is from Lahore. Gopal sits at one of the ends. Eman sits immediately to the left of the person who likes red. The person who likes blue sits at one of the ends, and Gopal does not like blue. The person from Kolkata likes white. Bhavna does not like white, and Eman is not from Kolkata. Who is from Sialkot?
A) Eman
B) Gopal
C) Bhavna
D) Arsalan
Answer: D) Arsalan β Arsalan is third, the Jaipur person fourth, Dilawar fifth, Gopal first and Eman second, so Bhavna is fourth and from Jaipur. Blue is at an end and not Gopal's, so Dilawar likes blue. Bhavna is not white and cannot be green (green is from Lahore), so she likes yellow. Arsalan likes red, so he is neither the green Lahore person nor the white Kolkata person; he must be from Sialkot. Eman is not from Kolkata, so Eman is from Lahore and Gopal from Kolkata, and Bhavna is from Jaipur. - Five people, Arsalan, Bhavna, Dilawar, Eman and Gopal, sit in a row facing north. Each comes from a different city among Lahore, Jaipur, Peshawar, Kolkata and Sialkot, and each likes a different colour among red, blue, green, white and yellow. Arsalan sits in the middle and likes red. The person from Jaipur sits immediately to the right of Arsalan. Dilawar sits at the right end and is from Peshawar. The person who likes green is from Lahore. Gopal sits at one of the ends. Eman sits immediately to the left of the person who likes red. The person who likes blue sits at one of the ends, and Gopal does not like blue. The person from Kolkata likes white. Bhavna does not like white, and Eman is not from Kolkata. Which city is the person sitting second to the left of Bhavna from?
A) Kolkata
B) Lahore
C) Sialkot
D) Peshawar
Answer: B) Lahore β The seats are Gopal (Kolkata, white), Eman (Lahore, green), Arsalan (Sialkot, red), Bhavna (Jaipur, yellow), Dilawar (Peshawar, blue). Bhavna is fourth, so second to her left is seat 2, Eman, from Lahore. Kolkata is Gopal's city, Sialkot is Arsalan's (immediately to her left) and Peshawar is Dilawar's (on her right). - Five people, Arsalan, Bhavna, Dilawar, Eman and Gopal, sit in a row facing north. Each comes from a different city among Lahore, Jaipur, Peshawar, Kolkata and Sialkot, and each likes a different colour among red, blue, green, white and yellow. Arsalan sits in the middle and likes red. The person from Jaipur sits immediately to the right of Arsalan. Dilawar sits at the right end and is from Peshawar. The person who likes green is from Lahore. Gopal sits at one of the ends. Eman sits immediately to the left of the person who likes red. The person who likes blue sits at one of the ends, and Gopal does not like blue. The person from Kolkata likes white. Bhavna does not like white, and Eman is not from Kolkata. Which of the following combinations of person, city and colour is correct?
A) Eman, Lahore, yellow
B) Bhavna, Jaipur, green
C) Dilawar, Sialkot, blue
D) Gopal, Kolkata, white
Answer: D) Gopal, Kolkata, white β The solved table is Gopal (Kolkata, white), Eman (Lahore, green), Arsalan (Sialkot, red), Bhavna (Jaipur, yellow) and Dilawar (Peshawar, blue). Eman likes green, not yellow; Bhavna likes yellow, not green; and Dilawar is from Peshawar, not Sialkot. - Four teachers, Rafay, Sunaina, Tauseef and Uzma, each teach one subject among Maths, Physics, Chemistry and English, on one day each from Monday to Thursday (one class a day). Sunaina teaches on the last of the four days. The Maths class is on the day after the Physics class. Tauseef teaches English. Rafay's class is on the day just before Uzma's. The Chemistry class is not on Monday. Uzma does not teach Maths. Who teaches Chemistry, and on which day?
A) Rafay, on Tuesday
B) Uzma, on Wednesday
C) Rafay, on Monday
D) Sunaina, on Thursday
Answer: A) Rafay, on Tuesday β Sunaina has Thursday. Rafay and Uzma are on consecutive days, either Monday-Tuesday (Tauseef Wednesday) or Tuesday-Wednesday (Tauseef Monday). In the first case the only consecutive non-English pair is Rafay-Uzma, which would make Uzma the Maths teacher, which is not allowed. So Tauseef is on Monday, Rafay Tuesday, Uzma Wednesday. Uzma cannot teach Maths, so Uzma teaches Physics and Sunaina Maths the next day, leaving Chemistry to Rafay on Tuesday. Uzma teaches Physics, and Sunaina teaches Maths.
Questions
How are these different from simple seating puzzles?
Simple puzzles only ask where people sit. Here each person also has another property, and clues can refer to the property instead of the name, so you must solve both together.
Is a grid or a row diagram better?
Use a row diagram whenever there are seats or an order, adding attribute lines below it. Use a cross-and-tick grid when there is no order and only matching between properties.
What if a puzzle seems to have two answers?
Recheck clues containing 'immediately', 'second' and 'not'. Well-set puzzles have a single arrangement, so a second one usually means a clue was read loosely.
How long should a five-person puzzle take?
About three to four minutes to solve completely; after that, every question in the set takes only a few seconds.