← Back to directory

For a complete permutation of0..n-1,n0..5, construct ALL shortest words of adjac...

https://datenvertrag.halowerk.com/v1/reduced-adjacent-swap-word-inventory

Overview

For a complete permutation of0..n-1,n0..5, construct ALL shortest words of adjacent POSITION swaps which sort it to identity. Each word lists zero-based left positions, applied left-to-right to the supplied source permutation. Return numeric-lexsorted whole word inventory, exact minimum swap length, exact word count and the complete permutation-state trace of the first word. Empty/identity permutations have one empty word.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/defi
Provider datenvertrag
Source bazaar
Indexed 2026-11-24 12:32:25

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "claim": { "minimum_swaps": 3, "word_count": 2 }, "permutation": [ 2, 1, 0 ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "state": "observed", "value": { "claimed_matches": true, "complete": true, "first_trace": [ [ 2, 1, 0 ], [ 1, 2, 0 ], [ 1, 0, 2 ], [ 0, 1, 2 ] ], "minimum_swaps": 3, "missing": [], "word_count": 2, "words": [ [ 0, 1, 0 ], [ 1, 0, 1 ] ] } } }, "type": "json" }