Sitemap

Two Sum

Jul 30, 2022

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.

Get Navaneethsaj’s stories in your inbox

Join Medium for free to get updates from this writer.

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.