effect-tree
    Preparing search index...
    • Get the node count and index of the given prüfer code. This is the opposite of ordinalToPrüfer in that composing one of each in any order is identity. Returns a pair of node count and ordinal, where the ordinal is always smaller than the node count.

      Parameters

      • code: number[]

      Returns [ordinal: number, nodeCount: number]