Flash cards
Review the key moves
What is the main idea behind Rust Practice: Spot the Bug?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
Which statement best captures the main point of this lesson?
Put the learning moves in the order that makes the concept easiest to apply.
Open the puzzle, solve it, then come back for the next repetition.
| Focus | Details |
|---|---|
| Language | Rust |
| Problem | Two Sum |
| Difficulty | Easy |
| Puzzle mode | spot bug |
| Goal | Find the broken line or failing branch before reading the explanation. |
Bugl practice
Start Two Sum practice
Practice Task
- Read the code or evidence panel before answering.
- Submit the answer in the Bugl puzzle UI.
- Use the explanation to name the exact rule or pattern you missed.
Problem brief: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order.