订单与库存(电商交易链路)
一条链路跨四个服务,中间任何一步都可能失败。
Copy the prompt, then pick a model. It plays the interviewer and asks you through it scene by scene instead of handing you the answer.
On a phone with the app installed, the system opens the app directly. Links cannot open external apps inside WeChat — open it in a browser first.
The copied text ends with the answer key the model grades you against. Don't read it yourself first — working it out on your own is the point.
考的不是「知不知道 Saga」,是补偿本身失败了怎么办 —— 这一层答不上来,前面说的都是名词。
建议排在支付之后:那道题里的幂等和对账,这道会接着用。
Cross-cutting patterns this one leans on
This prompt in the repo (the answer key is at the end of that file — you'll see it)
Have you done this one?
Sign in to mark this one as practised — next time you come back you'll see when you did it.
Notes from people who did this one
How to use this
How to start
- Pick a question, open it, copy the prompt.
- Paste it into a brand-new conversation — not one where you already discussed this question, or the model follows your old answers.
- Say nothing. Wait for its first question.
Four commands you can call out at any time
跳过move to the next scene now提示give a direction, not the answer直说吧spell this point out in full, then keep pressing on the trade-offs复盘jump to the wrap-up and print the review card
Three traps
- Don't do two questions in one conversation — context from the first makes the model prejudge your level.
- Don't look up the answer the moment it asks. Being stuck for 30 seconds is itself useful information.
- When it starts praising you, point it back to rule five — feeling validated crowds out noticing what you missed.
Suggested order: start with the cross-cutting drill as a parts test, use the short-link question to get used to the flow, then pick by the direction you interview for, and keep redoing the one about your own project.
Sign in to write a note.