using System;
public class Program
{
public static void Main()
// test#1
TwoSum(new int[2,7,11,15])
Console.WriteLine("Hello World");
}
/*
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
Example#1 :
Input: nums = [2,8,1,4], target = 9
Output: [1,2]
Output: Because nums[1] + nums[2] == 9, we return [1, 1].
*/
public int[] TwoSum(int[] nums, int target) {
int[] result =new int[2];
// add your logic here....
return result;