---
title: "Discussion on \"Two Sum ( leetcode - 01 )\" | Hashnode"
description: "Discussion on \"Two Sum ( leetcode - 01 )\". Here I will show the brute force and the optimized solution for this problem.\nProblem Statement: Given an array of integers nums and an integer target, return the indices of the two numbers such that they add up to target.\nYou may assume that each in..."
url: "https://hashnode.com/posts/two-sum-leetcode-01/647dbe8deee532afb88f2c63"
---

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

Discussion

# [Two Sum ( leetcode - 01 )](https://deeproop.hashnode.dev/two-sum-leetcode-01?utm_source=hashnode&utm_medium=feed)

Here I will show the brute force and the optimized solution for this problem. Problem Statement: Given an array of integers nums and an integer target, return the indices of the two numbers such that they add up to target. You may assume that each in...

Jun 5, 2023 · 2 min read · deeproop.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#two-sum-problem](https://hashnode.com/tag/two-sum-problem)
-   [#technology](https://hashnode.com/tag/technology)
-   [#cpp](https://hashnode.com/tag/cpp)

## Written by

[Deep Roop](https://hashnode.com/@DeepRoop)

@DeepRoop · India

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

Sassy

I am something that I am figuring out. Thanks for visiting here.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
