is it possible to cut a pizza
Anonymous User
543

I was asked the pizza cutting problem in a google onsite interview

following conditions have to be met:

  • you have to make a cut
  • cannot cut through toppings
  • each piece must include at least one topping

write a function to see if such a cut(s) on the pizza is possible

i could not solve it.
Please see my solution in the comments below

Comments (4)