Function deltaDecodeSortedArray

  • Decode a sorted array that was encoded using delta encoding

    Parameters

    • array: number[]

      the encoded array

    Returns number[]

    • the decoded array