Open Two Sum from Today
Select Today in the sidebar, then click Start Practice in the toolbar. In Coding, click the current challenge name in the toolbar, search for Two Sum, and open it. Choose JavaScript from the language menu to follow the example here.

Start Practice opens the Coding workspace. Select the image to enlarge. Read the prompt under Clarify. For
[2, 7, 11, 15]and target9, the answer is[0, 1], the positions of 2 and 7. The indices must be different and in ascending order.Run the starter code
Click Run in the toolbar before changing any code. Open the first failing case under Results. Compare the input and expected indices with what the starter returns. Seeing zero tests pass is expected here. The starter returns an empty array for every input.

The first run gives you a specific case to investigate. Select the image to enlarge. Ask Offline Coach for one hint
In the right-hand Inspector, select Coaching and send a message in Conversation.
Give me one hint without revealing the solution.

A hint from Offline Coach in the expanded conversation. Select the image to enlarge. Try the hint on the failing input. If the target is 9 and the current value is 7, which earlier value would complete the pair? Keep the starter function signature, write your approach in the editor, and run the visible tests again.
Submit and pick your next step
When the visible cases pass, choose Submit in the workflow bar. Review the readiness checklist and click Submit Solution. The app runs both the visible and hidden cases locally. The Attempt Debrief shows the formal result and what you can still improve.

Use the debrief to choose something to practice beyond passing the tests. Select the image to enlarge. Click Reflect on This Session and write one specific Next review action, such as “Explain why a map makes this faster.” Click Save Reflection. Open Progress and select Notebook to find it later.
Try it yourself
After submitting Two Sum, open it again from Library and try the duplicate-value case with [3, 3] and target 6. Write the expected pair before running a Quick Test if the editor offers it.
- What to look for
- The expected indices are [0, 1]. If you get the same index twice, check whether your lookup can see the current value before you insert it.
Troubleshooting
- The Coaching panel is hidden
- In the macOS menu bar, choose Workspace → Show or Hide Inspector, then select Coaching in the Inspector.
- The tests pass, but a readiness checkpoint is incomplete
- Use the checkpoint’s action in the Submit review to open the relevant tool. For example, use Open Complexity Coach to record and check your time and space reasoning.
Next steps
Go back to Today for your next suggested activity, or set a goal and follow a study plan. If you want generative coaching on your Mac, follow the Ollama setup guide.