Endpoint · otherPOSTdatenvertrag.halowerk.com /v1/stack-sort-permutation-image
Compute the full image of one captured permutation under one pass of the deterministic West stack-sorting map.
Read more
Compute the full image of one captured permutation under one pass of the deterministic West stack-sorting map. Read the word from left to right. Before pushing a new value, pop every smaller stack top into the output; after the final input, drain the stack. Return the entire output word. For example, [1,2,0] maps to [1,0,2], whereas [2,0,1] maps to [0,1,2]. This is a single pass and need not produce sorted order. The input is a permutation of exactly 0,...,n-1 for n=0..6; empty maps to empty.Overview
Grade?
UNRATED
0 of 30 paid calls toward a letter
Price
$0.003 per call
Paid calls
none yet
delivery unknown until someone pays
More info
Seller?
URL
https://datenvertrag.halowerk.com/v1/stack-sort-permutation-image
Seen
first 3 days ago · last 22 hr ago
6 free handshakes
Payment
Pays through
x402
Offered on?
Base USDC
Listed on?
Base
Buy it through Teppi
- ?Pay on delivery
- 0.005000 USDC (0.003000 to the seller, 0.002000 fee)
- Where
- https://api.teppi.xyz/v1/via/cap_01M88MQH0CRMN9WJ4NZCE4DA2X
- ?Ask the price
curl -si -X POST https://api.teppi.xyz/v1/via/cap_01M88MQH0CRMN9WJ4NZCE4DA2X -H 'content-type: application/json' -d '{}'
About
- ?Description
- Compute the full image of one captured permutation under one pass of the deterministic West stack-sorting map. Read the word from left to right. Before pushing a new value, pop every smaller stack top into the output; after the final input, drain the stack. Return the entire output word. For example, [1,2,0] maps to [1,0,2], whereas [2,0,1] maps to [0,1,2]. This is a single pass and need not produce sorted order. The input is a permutation of exactly 0,...,n-1 for n=0..6; empty maps to empty.
- URL
- https://datenvertrag.halowerk.com/v1/stack-sort-permutation-image
- Method
- POST
- Class
- other
- ?Checkable to
- L1
- Endpoint id
- cap_01M88MQH0CRMN9WJ4NZCE4DA2X
- ?Badge
Reads live. UNRATED until paid calls earn a letter.
- Markdown
- [](https://teppi.xyz/endpoint/cap_01M88MQH0CRMN9WJ4NZCE4DA2X)
- HTML
- <a href="https://teppi.xyz/endpoint/cap_01M88MQH0CRMN9WJ4NZCE4DA2X"><img src="https://api.teppi.xyz/badge/cap_01M88MQH0CRMN9WJ4NZCE4DA2X.svg" alt="Teppi delivery record"></a>
- Image
- https://api.teppi.xyz/badge/cap_01M88MQH0CRMN9WJ4NZCE4DA2X.svg
Verify it yourself
npx teppi-check https://datenvertrag.halowerk.com/v1/stack-sort-permutation-imagecurl -s https://api.teppi.xyz/v1/trust/cap_01M88MQH0CRMN9WJ4NZCE4DA2X