HashMap

A HashMap is a data structure that stores information in key-value pairs, allowing you to look up, add, and remove data very quickly.

Two Sum

You're given an array of integers called nums and an integer called target. You need to find two numbers in the array whose sum is equal to target. Return the indices of these two numbers.
Published on
Page 1 of 1