From 67a0125494fc90b2c56117cfa5c5cc6626ee919c Mon Sep 17 00:00:00 2001 From: Won Joon Thomas Choi <113500771+724thomas@users.noreply.github.com> Date: Wed, 9 Sep 2026 22:13:47 +0900 Subject: [PATCH] Create 2525. Categorize Box According to Criteria.py --- .../2525. Categorize Box According to Criteria.py" | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 "leetcode3/\354\265\234\354\233\220\354\244\200/2525. Categorize Box According to Criteria.py" diff --git "a/leetcode3/\354\265\234\354\233\220\354\244\200/2525. Categorize Box According to Criteria.py" "b/leetcode3/\354\265\234\354\233\220\354\244\200/2525. Categorize Box According to Criteria.py" new file mode 100644 index 00000000..4d4f9bec --- /dev/null +++ "b/leetcode3/\354\265\234\354\233\220\354\244\200/2525. Categorize Box According to Criteria.py" @@ -0,0 +1,3 @@ +class Solution: + def categorizeBox(self, length: int, width: int, height: int, mass: int) -> str: + return "Both" if (length >= 10000 or width >= 10000 or height >= 10000 or length * width * height >= 10**9) and mass >= 100 else "Bulky" if (length >= 10000 or width >= 10000 or height >= 10000 or length * width * height >= 10**9) else "Heavy" if mass >= 100 else "Neither"