Leet code | Problem 1: Two-sum
NOTE: This problem is generated by LeetCode. TakeTheNotes has given only solution for educational purpose. Problem Name: Two Sum Description: Given an array of integers nums and an integer target, return indices of the…