← CodeNation questions

Pizza topping choices for friends

Filed under CodeNation

The question

Given n friends and m types of toppings where each friend expresses preferences to include or exclude specific toppings, determine if there is a way to prepare a pizza that fulfills at least one choice for every friend.

No write-up yet. Related questions below have one.

Related CodeNation questions

Collected from public candidate posts and coding forums. Updated Nov 2026.