Problem SpecificationTwo Sum
Given an array of integers nums and an integer target, return the indices of the two numbers such that they add up to target. Return an empty list [] if no such pair exists.
solution.py
Python 3.12 (Isolated Sandbox)Ready for Automated Triage
Submit your solution to execute in the secure Python sandbox. If any test case fails, the AI coach classifies the root cause and delivers progressive, non-spoiler hints.
System // Automated Algorithmic Triage
Diagnose failures without spoiling the answer.
An automated AI coaching sandbox that executes your code against rigorous test cases, classifies bug failure patterns, and delivers progressive hint tiers to help you solve it yourself.