freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-237-tours-on-a-4-x-n-playing-board.md
Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00

764 B
Raw Blame History

id, title, challengeType, forumTopicId
id title challengeType forumTopicId
5900f4591000cf542c50ff6c Problem 237: Tours on a 4 x n playing board 5 301882

--description--

Let T(n) be the number of tours over a 4 × n playing board such that:

The tour starts in the top left corner.

The tour consists of moves that are up, down, left, or right one square.

The tour visits each square exactly once.

The tour ends in the bottom left corner.

The diagram shows one tour over a 4 × 10 board:

T(10) is 2329. What is T(1012) modulo 108?

--hints--

euler237() should return 15836928.

assert.strictEqual(euler237(), 15836928);

--seed--

--seed-contents--

function euler237() {

  return true;
}

euler237();

--solutions--

// solution required