freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-178-step-numbers.md

24 lines
489 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f41e1000cf542c50ff31
title: 问题178步骤编号
challengeType: 5
videoUrl: ''
---
# --description--
考虑数字45656.可以看出45656的每对连续数字的差值为1。每对连续数字的差值为1的数字称为步数。 pandigital数字包含从0到9的每个十进制数字至少一次。
有多少pandigital步数小于1040
# --hints--
`euler178()`应该返回126461847755。
```js
assert.strictEqual(euler178(), 126461847755);
```
# --solutions--