freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-237-tours-on-a-4-x-...

1.0 KiB
Raw Blame History

id challengeType title videoUrl localeTitle
5900f4591000cf542c50ff6c 5 Problem 237: Tours on a 4 x n playing board 问题237在4 x n游戏板上游览

Description

设Tn为4×n游戏板上的游览次数使得游览从左上角开始。巡视包括向上向下向左或向右一个方格的移动。游览访问每个广场一次。游览结束于左下角。该图显示了4×10板上的一次巡视

T10是2329.什么是T1012模108

Instructions

Tests

tests:
  - text: <code>euler237()</code>应该返回15836928。
    testString: 'assert.strictEqual(euler237(), 15836928, "<code>euler237()</code> should return 15836928.");'

Challenge Seed

function euler237() {
  // Good luck!
  return true;
}

euler237();

Solution

// solution required