Skip to content

Conversation

@giovannymassuia
Copy link
Member

πŸ“š Description

πŸ”— Linked issue

❓ Type of change

  • ✨ New feature
  • 🐞 Bug fix
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • πŸ“– Documentation (updates to the documentation or readme)
  • ⚠️ Breaking change

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.
  • I have performed a self-review of my code.
  • I implemented tests for new features.
  • I tested the features already implemented.

@github-actions

This comment has been minimized.

β”œβ”€β”€β”€β”Όβ”€β”€β”€β”Όβ”€β”€β”€β”Όβ”€β”€β”€β”€
β”‚ 1 β”‚ 3 β”‚ 6 β”‚ 10β”‚
β””β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”˜
```
Copy link
Member Author

@giovannymassuia giovannymassuia Dec 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not rendering correctly:

image

β”œβ”€β”€β”€β”Όβ”€β”€β”€β”Όβ”€β”€β”€β”€
β”‚ β”‚ β”‚ E β”‚
β””β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”˜
```
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not rendering correctly:

image


return dp[n];
}
```
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a table and fill it step by step.

// Uso:
const result = coinChange([1, 3, 4], 6);
console.log(result === Infinity ? -1 : result); // 2
```
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add graph


return dp[amount] === Infinity ? -1 : dp[amount];
}
```
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add table

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link

πŸš€ Preview Url πŸš€

https://3154d601.blog-c3.pages.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants