---
title: "Discussion on \"Two Sum - Leet Code Solution\" | Hashnode"
description: "Discussion on \"Two Sum - Leet Code Solution\". So, the problem statement was:\nGiven an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.\nYou may assume that each input would have exactly one solution, and you may not use the same elem..."
url: "https://hashnode.com/posts/two-sum-leet-code-solution/60556f4263a05a21443f1684"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Two Sum - Leet Code Solution](https://rajattiwari.hashnode.dev/two-sum-leet-code-solution?utm_source=hashnode&utm_medium=feed)

So, the problem statement was: 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 elem...

Mar 20, 2021 · 2 min read · rajattiwari.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#python](https://hashnode.com/tag/python)
-   [#java](https://hashnode.com/tag/java)
-   [#learning](https://hashnode.com/tag/learning)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Rajat Tiwari](https://hashnode.com/@rajattiwari)

@rajattiwari · Rudrapur, Uttarakhand, India

  
[View profile](https://hashnode.com/@rajattiwari)

Aspiring Software Developer

I am a software developer and love to contribute to the tech community.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
