Skip to content

142-Bupa-Acibadem-FullStack-Bootcamp/week-6-assignment-1-UgurCimenoglu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

week-6-assignment-1

Bir sayı dizisi ve hedef değeri veriliyor. Toplamı, hedefe eşit olan ikililerin indexlerini dönen fonksiyonu yazınız.

  • Örnek 1:

Input: nums = [2,7,11,15], target = 9
Output: [0,1]
Output: Çünkü nums[0] + nums[1] == 9, return [0, 1].

  • Örnek 2:

Input: nums = [3,2,4], target = 6
Output: [1,2]

  • Örnek 3:

Input: nums = [3,3], target = 6
Output: [0,1]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published