← Back to directory

For two permutations of the same anonymous labels0..n-1,n0..5, reconstruct ALL o...

https://datenvertrag.halowerk.com/v1/prepost-binary-tree-fiber-inventory

Overview

For two permutations of the same anonymous labels0..n-1,n0..5, reconstruct ALL ordered binary trees with exactly the supplied root-left-right preorder and left-right-root postorder. Unary children may be left or right; do not assume uniqueness. Return full tree family and count. A tree code is preorder with explicit null child markers; null sorts before numericlabels, whole codes lexsort numerically. Emptytraversals give oneemptytree[null]; inconsistentvalidtraversals give knownemptyfamily.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider datenvertrag
Source bazaar
Indexed 2026-11-24 12:32:28

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "claim": [ [ 2, 0, null, null, 1, null, null ] ], "postorder": [ 0, 1, 2 ], "preorder": [ 2, 0, 1 ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "state": "observed", "value": { "claimed_matches": true, "complete": true, "missing": [], "tree_count": 1, "trees": [ [ 2, 0, null, null, 1, null, null ] ] } } }, "type": "json" }