# breaking it down easy

The Banquet Chairs

Party rental math: tables seat t each, and every guest needs a seat — even if the last table sits half empty. 🪑

You get the guest-group sizes and the seats per table t. Total up the guests and print the fewest tables (round up!).

Example:

Input: groups = [4, 3, 5], t = 6 Output: 2

The headcount is 4 + 3 + 5 = 12, and 12 ÷ 6 = 2 tables exactly.

💡 need a hint?

brk-banquet-chairs.py🔒 given lines are locked — write your code in between
loading...