effect-tree
    Preparing search index...
    • Compute the next Prüfer code from the given code with wrap-around.

      For example, the next code of 1,4 will be 2,1 and the next code of 4,4 will be 1,1.

      Parameters

      • a: number[]

      Returns number[]