Jump to ContentJump to Main Navigation
Algorithmic Puzzles$
Users without a subscription are not able to see the full content.

Anany Levitin and Maria Levitin

Print publication date: 2011

Print ISBN-13: 9780199740444

Published to Oxford Scholarship Online: November 2020

DOI: 10.1093/oso/9780199740444.001.0001

Show Summary Details
Page of

PRINTED FROM OXFORD SCHOLARSHIP ONLINE (oxford.universitypressscholarship.com). (c) Copyright Oxford University Press, 2021. All Rights Reserved. An individual user may print out a PDF of a single chapter of a monograph in OSO for personal use. date: 03 March 2021

Solutions

Solutions

Chapter:
4 Solutions
Source:
Algorithmic Puzzles
Author(s):

Anany Levitin

Maria Levitin

Publisher:
Oxford University Press
DOI:10.1093/oso/9780199740444.003.0009

Most puzzles do not lend themselves to such simple solutions. This one is a rare exception in that the man has just one meaningful choice on all but the third trip The puzzle can also be solved by using the state-space graph (see [Lev06, Section 6.6]), similar to the solution of the Two Jealous Husbands puzzle in the tutorial on general design strategies. The states of the puzzle can also be represented by vertices of a cube. These alternative representations make it obvious that the seven trips is the fewest possible here. This classic puzzle was included in Alcuin’s collection—the earliest known collection of mathematical problems in Latin—which we already had a chance to mention in the first tutorial. On the appearance of this puzzle in other parts of the world, see [Ash90]. In modern times, it has become a standard feature in puzzle collections. Surprisingly, the puzzle still attracts the attention of mathematicians and computer scientists (see [Cso08]).

Keywords:   backward thinking, decimal numbers, heuristic, interview question, median, octagon, palindrome, queue, recurrence relation

Oxford Scholarship Online requires a subscription or purchase to access the full text of books within the service. Public users can however freely search the site and view the abstracts and keywords for each book and chapter.

Please, subscribe or login to access full text content.

If you think you should have access to this title, please contact your librarian.

To troubleshoot, please check our FAQs , and if you can't find the answer there, please contact us .