---
title: "Discussion on \"LeetCode 322: Coin Change — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 322: Coin Change — Step-by-Step Visual Trace\". Given an array of coin denominations and a target amount, find the minimum number of coins needed to make up that amount, or return -1 if it''s impossible."
url: "https://hashnode.com/posts/coin-change-visualization/69d7d1f7f8481628c5175539"
---

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

Discussion

# [LeetCode 322: Coin Change — Step-by-Step Visual Trace](https://blog.tracelit.dev/coin-change-visualization?utm_source=hashnode&utm_medium=feed)

Given an array of coin denominations and a target amount, find the minimum number of coins needed to make up that amount, or return -1 if it''s impossible.

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

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#dynamic-programming](https://hashnode.com/tag/dynamic-programming)
-   [#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.
