my-solutions/problems/1-two-sum
2022-11-17 17:05:32 +05:00
..
lib.c Problem 1: two sum 2022-11-17 15:45:40 +05:00
lib.h Problem 1: two sum 2022-11-17 15:45:40 +05:00
main.c Problem 1: two sum 2022-11-17 15:45:40 +05:00
Makefile Problem 1: two sum 2022-11-17 15:45:40 +05:00
readme.md Add link to the first problem 2022-11-17 17:05:32 +05:00

1. Two sum

Leetcode

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

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.