---
title: "Discussion on \"LeetCode 1518. Water Bottles Java Solution\" | Hashnode"
description: "Discussion on \"LeetCode 1518. Water Bottles Java Solution\". Problem Description\n\nProblem: LeetCode 1518. Water Bottles\n\nDescription: We have numBottles water bottles. We can exchange numExchange empty bottles for one new full water bottle. The goal is to calculate the maximum number of water bottles we can dr..."
url: "https://hashnode.com/posts/leetcode-1518-water-bottles-java-solution/669e741f92e82acaed4b92f5"
---

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

Discussion

# [LeetCode 1518. Water Bottles Java Solution](https://eunhanlee.hashnode.dev/leetcode-1518-water-bottles-java-solution?utm_source=hashnode&utm_medium=feed)

Problem Description Problem: LeetCode 1518. Water Bottles Description: We have numBottles water bottles. We can exchange numExchange empty bottles for one new full water bottle. The goal is to calculate the maximum number of water bottles we can dr...

Jul 22, 2024 · 2 min read · eunhanlee.hashnode.dev  
Read the article

-   [#leetcode-1518-water-bottles](https://hashnode.com/tag/leetcode-1518-water-bottles)
-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)
-   [#algorithm](https://hashnode.com/tag/algorithm)
-   [#java](https://hashnode.com/tag/java)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#algorithm-solving](https://hashnode.com/tag/algorithm-solving)

## Written by

[Han](https://hashnode.com/@EunHaSu)

@EunHaSu · VA, US

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

Java, Android, Algorithm

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
