---
title: "Discussion on \"Two Sum - LeetCode's Solution in C#\" | Hashnode"
description: "Discussion on \"Two Sum - LeetCode's Solution in C#\". Problem: You have a function that takes the arguments of an array and a target. You have to return two values from the array that sum up to the target.\nThere would be exactly one solution, and using the same element twice is prohibited.\nAn example wo..."
url: "https://hashnode.com/posts/two-sum-leetcodes-solution-in-c/64b094c4603f51cab6943133"
---

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

Discussion

# [Two Sum - LeetCode's Solution in C#](https://rochablog.com/two-sum-leetcodes-solution-in-c?utm_source=hashnode&utm_medium=feed)

Problem: You have a function that takes the arguments of an array and a target. You have to return two values from the array that sum up to the target. There would be exactly one solution, and using the same element twice is prohibited. An example wo...

Jul 14, 2023 · 2 min read · rochablog.com  
Read the article

-   [#twosum](https://hashnode.com/tag/twosum)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)

## Written by

[Kevin Rocha](https://hashnode.com/@kevinr1)

@kevinr1

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

Develop C#, Asp.NET Postgresql

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
