Hey 👋, Welcome to VK's

Leetcode Solutions 🪨

Back to all solutions

Two Sums

Created on: 30/10/2022

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order.

Language Used: python

def soln(a):
    return a+1

if __name__ == 'main':
    soln(4)

Leetcode Link:

🪨 VK Leetcode Solutions

© Copyright 2022 JS Vignesh Kanna

Follow me on: