datenvertrag.halowerk.com/v1/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-auditUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/stable-cartesian-tree-reconstruction-audit", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claimed_parent":[2,0,-1,2],"values":[2,2,1,2]}),
});
console.log(await res.json());Example input
{
"claimed_parent": [
2,
0,
-1,
2
],
"values": [
2,
2,
1,
2
]
}