← All problemsSign in

Chef New Restaurant

Problem description. Chef has opened a new Bakery and he has decided to Organise a contest for increasing his sales of Bakery. He has decided to organise Contest in the form of lottery. There are chits in a bag and the each new Customer has to take out a chit from the bag. Each chit contains a random string of characters and after picking up a chit from bag, the customer has to compare the string

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start