Redeem code
CodeChefOpen on judge ↗
Deepa is fond of books. She was very keen to buy and complete any coding related book. One day she saw an amazing book which is a mix of real life problems and computerized algorithms. but when she checked the prize of the book it was a bit high. she thought of finding a redeem code to get a discount on the book. Her friend Akil, recently won a coding quiz and he got a special redeem code to the
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.
Sign in to chat with the tutor and save your progress.
Sign in to start