Write a Code [ Python, CPP, C, JAVA, JS ] to solve the Problem #1
Labels
c
cc
cpp
digital ocean
documentation
Improvements or additions to documentation
enhancement
New feature or request
first issue
good first issue
Good for newcomers
hacktober
hacktober-accepted
hacktoberfest
hacktoberfest2021
hactoberfest2020
help wanted
Extra attention is needed
intel
java
js
python
question
Further information is requested
shell
Two Sum
Problem Link : https://leetcode.com/problems/two-sum/
Statement
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.
Example 1:
Example 2:
Example 3:
Constraints:
Follow-up: Can you come up with an algorithm that is less than O(n2) time complexity?
RULES :
How to name your file?
This will ensure no file will be conflict and any number of contributors can work on the same issue.
If you have any query ask in comments below, kindly follow this pattern strictly.
The text was updated successfully, but these errors were encountered: