freeCodeCamp/curriculum/challenges/portuguese/08-coding-interview-prep/project-euler/problem-62-cubic-permutatio...

992 B

id challengeType title videoUrl localeTitle
5900f3aa1000cf542c50febd 5 Problem 62: Cubic permutations

Description

O cubo, 41063625 (3453), pode ser permutado para produzir dois outros cubos: 56623104 (3843) e 66430125 (4053). De fato, 41063625 é o menor cubo que tem exatamente três permutações de seus dígitos que também são cubo. Encontre o menor cubo para o qual exatamente cinco permutações de seus dígitos são cubo.

Instructions

Tests

tests:
  - text: ''
    testString: 'assert.strictEqual(euler62(), 127035954683, "<code>euler62()</code> should return 127035954683.");'

Challenge Seed

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

euler62();

Solution

// solution required