← All problemsSign in

Joker and Batman

As you all know about the ruthless fight between Joker and Batman , Joker is one of the person who wants the city to burn in fire in exchange of nothing , not even money . This time Joker has kept people of Gotham as hostages and Batman has to turn up for his duty. Now , Joker wants to check Batman on his concepts of trees, so he provides him a complete Binary tree and ask him several queries .

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