Simple solution ->  Beats 100.00%
IntuitionApproachComplexity

Time complexity:
O(1)


Space complexity:
O(1)

Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
O(1)

- Space complexity:
O(1)

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