Start here / macOS

Start your first practice session

Try a coding challenge, get an offline hint, and turn your results into a next step.

  1. 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.

    AlgoZilla’s Today dashboard with Start Practice at the right end of the toolbar.
    Start Practice opens the Coding workspace. Select the image to enlarge.

    Read the prompt under Clarify. For [2, 7, 11, 15] and target 9, the answer is [0, 1], the positions of 2 and 7. The indices must be different and in ascending order.

  2. 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 Results tab shows zero of three visible tests passing and lists the basic pair case.
    The first run gives you a specific case to investigate. Select the image to enlarge.
  3. 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.
    Offline Coach asks which value would complete the target and what information can be tracked after each number.
    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.

  4. 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.

    Attempt Debrief shows a passing formal result and separate checkpoints for plan, implementation, visible tests, complexity, and interview explanation.
    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.