Sunday Times Teaser 2491 – No Title
by Graham Smithers
Published June 20 2010 (link)
One Sunday, 11 friends — Burchy, Chop, Grubs, Hobnob, Lanky, Mouldy, Ruffan, Shultz, Tufty, Wotfor and Zebedee — shared out The Sunday Times to read. They each got one of the following sections: Appointments, Business, Culture, Home, InGear, Magazine, Money, News Review, Sport, Style and Travel. For each person, the title of their section contained no letter of the alphabet that was also in their name.
Who read each of the sections?
With the sections in the above order, list the initials of their readers.
One Comment
Leave one →
-
Brian Gladman permalink1234567891011121314151617from itertools import combinationsfrom grouping import solves = ( 'Appointments', 'Business', 'Culture', 'Home', 'InGear','Magazine', 'Money', 'News Review', 'Sport', 'Style','Travel' )n = ( 'Burchy', 'Chop', 'Grubs', 'Hobnob', 'Lanky', 'Mouldy','Ruffan', 'Shultz', 'Tufty', 'Wotfor', 'Zebedee' )def check(*vs):return not any(set(x.lower()).intersection(y.lower())for x, y in combinations(vs, 2))solve([s, n], check)