effect-tree - v1.0.36
    Preparing search index...

    Function fromOrdinal

    • returns the prüfer sequence for the nₜₕ labeled tree with a node count of nodeCount. Note the n is an ordinal that starts at 1.

      Parameters

      • n: bigint
      • nodeCount: number

      Returns number[]