Files
freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-117-red-green-and-blue-tiles.english.md
Valeriy 79d9012432 fix(curriculum): quotes in tests (#18828)
* fix(curriculum): tests quotes

* fix(curriculum): fill seed-teardown

* fix(curriculum): fix tests and remove unneeded seed-teardown
2018-10-20 23:32:47 +05:30

1.1 KiB

id, challengeType, title
id challengeType title
5900f3e21000cf542c50fef4 5 Problem 117: Red, green, and blue tiles

Description

Using a combination of black square tiles and oblong tiles chosen from: red tiles measuring two units, green tiles measuring three units, and blue tiles measuring four units, it is possible to tile a row measuring five units in length in exactly fifteen different ways.

How many ways can a row measuring fifty units in length be tiled? NOTE: This is related to Problem 116.

Instructions

Tests

tests:
  - text: <code>euler117()</code> should return 100808458960497.
    testString: assert.strictEqual(euler117(), 100808458960497, '<code>euler117()</code> should return 100808458960497.');

Challenge Seed

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

euler117();

Solution

// solution required