Competitive Programming
رفتن به کانال در Telegram
Solving competitive Programming Questions one day at a time. Group link: https://t.me/daily1interviewprogram Please forward it to your friends
نمایش بیشترکشور مشخص نشده استدسته بندی مشخص نشده است
4 553
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
آرشیو پست ها
Hope you guys have solved todays question. Click on the below link to know the solution. Please write your solution in the comment section of the post. As this is the first post, there are some things to be taken care of, will improve the redability in upcoming posts.
https://www.prodevelopertutorial.com/given-an-array-of-integers-in-ascending-order-return-index-of-the-two-numbers-such-that-they-add-up-to-a-specific-key-provided/
Todays Question:
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
Explanation:
Given nums = [2, 7, 11, 15], target = 9,
Because nums[0] + nums[1] = 2 + 7 = 9,
return [0, 1].
Difficulty:
Easy
Asked in company:
facebook, Bloomberg
