Luke - max containers solution
IntuitionI thought that I had to do extra coding.ApproachI only needed the hint to do this. No knowledge needed. Just return the minimum of n squared and the ma
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
I thought that I had to do extra coding.
# Approach
<!-- Describe your approach to solving the problem. -->
I only needed the hint to do this. No knowledge needed. Just return the minimum of n squared and the maxweight/w. Just read the hint and turn it into java code and thats it.
# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```java []
class Solution {
    public int maxContainers(int n, int w, int maxWeight) {
        return Math.min(n*n, maxWeight/w);
    }
}
```
['Java']