Available question text
Given an n x n deck where each cell can hold one container of weight w, return the maximum number of containers you can load without exceeding maxWeight — i.e., the minimum of n*n and floor(maxWeight / w).
Related questions
Continue with questions that share topics or the same question type.
- All the Pairs With the Maximum Number of Common Followers
Coding
- Average Salary Excluding the Minimum and Maximum Salary
Coding
- Binary Tree Maximum Path Sum
Coding · Binary Tree · Depth-First Search · DP on Trees
- Build Array Where You Can Find The Maximum Exactly K Comparisons
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3492. Maximum Containers on a Ship
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source