hanonFall function

List<int> hanonFall(
  1. int x
)

Os graus de um passo de seis notas que desce: x x−1 x−2 x−3 x−2 x−1.

Implementation

List<int> hanonFall(int x) => [x, x - 1, x - 2, x - 3, x - 2, x - 1];