---
title: "Discussion on \"Two Sum\" | Hashnode"
description: "Discussion on \"Two Sum\". Question is this\nInput: nums = [2,7,11,15], target = 9\nOutput: [0,1]\n#Explanation: Because nums[0] + nums[1] == 9, we return [0, 1].\n\nExample 2:\nInput: nums = [3,2,4], target = 6\nOutput: [1,2]\n\nExample 3:\nInput: nums = [3,3], target = 6\nOutput: [0,1]..."
url: "https://hashnode.com/posts/two-sum/68217c94a6a95b4e3b376796"
---

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

Discussion

# [Two Sum](https://dsa-question-with-python.hashnode.dev/two-sum?utm_source=hashnode&utm_medium=feed)

Question is this Input: nums = \[2,7,11,15\], target = 9 Output: \[0,1\] #Explanation: Because nums\[0\] + nums\[1\] == 9, we return \[0, 1\]. Example 2: Input: nums = \[3,2,4\], target = 6 Output: \[1,2\] Example 3: Input: nums = \[3,3\], target = 6 Output: \[0,1\]...

May 12, 2025 · 1 min read · dsa-question-with-python.hashnode.dev  
Read the article

## Written by

[Divyansh Savita](https://hashnode.com/@techzacker)

@techzacker

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

I upload blogs related to technology

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
