Chef and mango trees
CodeChefOpen on judge ↗
Chef has garden full of mango trees, the only source of its income. Now a days, the chef's mangoes aren't doing well in the market. Due to which the chef income is decreasing rapidly. The chef wants to find out the problem with mangoes. He asked his friend for the same. His friend suggest him to check for insects,etc in the garden. Luckily chef came to know that the branches of some trees are unde
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