leetle

Daily challenge for 2025-08-09

221. Pizza Slice Fairness Calculator

Write a function solve that determines if a circular pizza can be divided fairly among N people using straight cuts from center to edge. Given N people and K cuts, return True if each person gets equal area (cuts create equal angles).

Example:
Input: people = 4, cuts = 4
Output: True (360°/4 = 90° per slice)

Run this challenge interactively in Python or JavaScript when the app loads.