datenvertrag.halowerk.com/v1/subsequence-deck-word-reconstruction-family
Given original length n in0..8, k in0..n and a full k-deck as distinct binaryword/count entries, reconstruct EVERY binary n-word whose multiset of all length-k subsequences equals that deck exactly. Subsequences preserve order and allow gaps; multiplicities count index selections, not just distinct spellings. Return canonical sorted deck, entire lexicographic sourcewordfamily, count, uniqueness an
POST
https://datenvertrag.halowerk.com/v1/subsequence-deck-word-reconstruction-familyUptime100% 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/subsequence-deck-word-reconstruction-family", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claimed_words":["0110","1001"],"deck":[{"count":1,"word":"00"},{"count":2,"word":"01"},{"count":2,"word":"10"},{"count":1,"word":"11"}],"length":4,"subsequence_length":2}),
});
console.log(await res.json());Example input
{
"claimed_words": [
"0110",
"1001"
],
"deck": [
{
"count": 1,
"word": "00"
},
{
"count": 2,
"word": "01"
},
{
"count": 2,
"word": "10"
},
{
"count": 1,
"word": "11"
}
],
"length": 4,
"subsequence_length": 2
}