Graduate Skill Path
News
Coding Problems
Practice ▼
Chat
Login
Register
☰
Two Sum
Return two numbers that add to target.
Input:
[2,7,11,15], target=9
Output:
[2,7]
Show Solution
Code Editor
Loading...
▶ Run Code
Console Output
👉 full-stack-web-development