Given an array and a target sum, find all unique pairs of numbers that add up to the target.
Input: nums = [1, 5, 3, 7, 2, 6], target = 8 Output: [[1,7],[2,6]]
Unlock hints progressively β start gentle, go deeper only if needed.
Level 1: Gentle Nudge
A subtle direction
Level 2: Approach
The algorithm to use
Level 3: Detailed
Step-by-step guidance
to save progress and use AI features