← All problemsSign in

Highest Package

One day, a company came to the best campus for hiring students. They successfully completed shortlisting the students by conducting a quiz. But many students performed well. Now they wanted to give the highest package to only the students who perform well, so they asked the students to solve the problem that the company is facing. Given that some data is stored in the tree data structure. Now 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.

voice by Sarvam AI

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

Sign in to start