Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 259 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 259 Bytes

CS516-2024-10A-10D-010-question1

Two sum: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. Input: nums = [2,7,11,15], target = 9 Output: [0,1]

Follow up questions: Find all indices