← Market

Avl Search Tree Shape Inventory

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.

POST https://datenvertrag.halowerk.com/v1/avl-search-tree-shape-inventory

0.003 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.003 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "claimed_codes": [
    "110010100",
    "110011000",
    "110100100",
    "111000100"
  ],
  "size": 4
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://datenvertrag.halowerk.com/v1/avl-search-tree-shape-inventory · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "size",
    "claimed_codes"
  ],
  "properties": {
    "size": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 7
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_codes": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 17,
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 15,
            "pattern": "^[01]+$"
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}
curl -i -X POST 'https://datenvertrag.halowerk.com/v1/avl-search-tree-shape-inventory' \
  -H 'content-type: application/json' -d '{"size":4,"claimed_codes":["110010100","110011000","110100100","111000100"]}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)