Skip to content

Elvis3569/Two-sum-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Two-sum-Algorithm solution

Question

Given an array of integers nums and an integer target, create a function that returns the two numbers such that they add up to target.

Walk through

  • created a function that takes two parameters, one takes an array of integers the other takes an integer.
  • created an object that will store values.
  • loop through the array from the first element to last.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published