---
title: "Discussion on \"LeetCode 1: Two Sum — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 1: Two Sum — Step-by-Step Visual Trace\". Given an array of integers and a target sum, find the indices of two numbers in the array that add up to the target value. Each input has exactly one solution, and the same element cannot be used twice."
url: "https://hashnode.com/posts/two-sum-visualization/69d7d2acb3157a36ebc026fa"
---

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

Discussion

# [LeetCode 1: Two Sum — Step-by-Step Visual Trace](https://blog.tracelit.dev/two-sum-visualization?utm_source=hashnode&utm_medium=feed)

Given an array of integers and a target sum, find the indices of two numbers in the array that add up to the target value. Each input has exactly one solution, and the same element cannot be used twice.

Apr 9 · 1 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
