☑️ Finding Maximum Containers on a Ship. ☑️
Code
# Code
```dart []
class Solution {
  int maxContainers(int n, int w, int maxWeight) {
    int sum = 0;
    for(int i = 1; i <= n*n; i++){
        sum += w;
        if(maxWeight < sum){
            return i-1;
        }
    }

    return n*n;
  }
}
```
['Math', 'Dart']