Skip to content

Commit 4c3eec6

Browse files
committed
✨ lc 442-1
1 parent 0af0041 commit 4c3eec6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

0442_Problem_1.bqn

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# For up to date code:
2+
# https://github.com/codereport/bqn-code/blob/main/leetcode/442-1.bqn
3+
4+
# Link: https://leetcode.com/problems/maximum-containers-on-a-ship
5+
6+
u•Import "/home/cph/bqn-test/test.bqn"
7+
8+
MaxContainers ← { 𝕊nwm: (m÷w)⌊טn }
9+
10+
# Tests
11+
u.UnitTest (MaxContainers 2315) 4
12+
u.UnitTest (MaxContainers 3520) 4

0 commit comments

Comments
 (0)