{"slug":"datenvertrag-halowerk-com-v1-prepost-binary-tree-fiber-inven-8fdb71","title":"For two permutations of the same anonymous labels0..n-1,n0..5, reconstruct ALL o","host":"datenvertrag.halowerk.com","method":"POST","resource":"https://datenvertrag.halowerk.com/v1/prepost-binary-tree-fiber-inventory","category":"code","description":"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 preor","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":905,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"claim":{"anyOf":[{"items":{"items":{"anyOf":[{"maximum":4,"minimum":0,"type":"integer"},{"type":"null"}]},"maxItems":11,"minItems":1,"type":"array"},"maxItems":32,"type":"array"},{"type":"null"}]},"postorder":{"anyOf":[{"items":{"maximum":4,"minimum":0,"type":"integer"},"maxItems":5,"type":"array","uniqueItems":true},{"type":"null"}]},"preorder":{"anyOf":[{"items":{"maximum":4,"minimum":0,"type":"integer"},"maxItems":5,"type":"array","uniqueItems":true},{"type":"null"}]}},"required":["preorder","postorder","claim"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":907,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":900,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":905,"error":null}],"description_full":"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.","last_updated":"2026-11-24T10:34:14.993Z","schemes":["exact"]}