{"slug":"datenvertrag-halowerk-com-v1-avl-search-tree-shape-inventory-8c9746","title":"For 0 to 7 fixed ordered keys0..n-1, construct all binary search-tree shapes who","host":"datenvertrag.halowerk.com","method":"POST","resource":"https://datenvertrag.halowerk.com/v1/avl-search-tree-shape-inventory","category":"code","description":"For 0 to 7 fixed ordered keys0..n-1, construct all binary search-tree shapes whose left/right subtree heights differ by at most one at every node. Own height convention: empty0, singleton1. Keys are assigned by inorder. Return every root/left/right array indexed by key, all node heights/balances(lef","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":1198,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"claimed_codes":["110010100","110011000","110100100","111000100"],"size":4},"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":{"claimed_codes":{"anyOf":[{"items":{"maxLength":15,"minLength":1,"pattern":"^[01]+$","type":"string"},"maxItems":17,"type":"array"},{"type":"null"}]},"size":{"anyOf":[{"maximum":7,"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["size","claimed_codes"],"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":{"additionalProperties":true,"properties":{"type":{"const":"json"}},"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":1162,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1336,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1198,"error":null}],"description_full":"For 0 to 7 fixed ordered keys0..n-1, construct all binary search-tree shapes whose left/right subtree heights differ by at most one at every node. Own height convention: empty0, singleton1. Keys are assigned by inorder. Return every root/left/right array indexed by key, all node heights/balances(left minus right), preorder and full shape code. Shape code is preorder: 0 for empty child, 1 followed by left and right codes for a node.","last_updated":"2026-11-24T10:16:20.261Z","schemes":["exact"]}