Zum Inhalt
HALOWERK

Datenvertragswerk

stable cartesian tree reconstruction audit

From1..24 supplied integer values construct the unique min-Cartesian tree with priority(value,originalindex), inorder0..n-1. Return every parent/left/right/root, half-open subtree range and inclusive-endpoint range-argmin triangular table. Compare the entire ordered claimed_parent vector; null values or null claim is unknown. Fixed0.003USDC also valid unknown; no external observations.

POST https://datenvertrag.halowerk.com/v1/stable-cartesian-tree-reconstruction-audit

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
valuesSiehe SchemaJa
claimed_parentSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "values",
    "claimed_parent"
  ],
  "properties": {
    "values": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 24,
          "items": {
            "type": "integer",
            "minimum": -100,
            "maximum": 100
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_parent": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 24,
          "items": {
            "type": "integer",
            "minimum": -1,
            "maximum": 23
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "values": [
    2,
    2,
    1,
    2
  ],
  "claimed_parent": [
    2,
    0,
    -1,
    2
  ]
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →