I used a method that merges the sub trees and finds the answer but its getting tle on a case cant the time limit be increased a little more?
Most of users used merge trees and passed. But the new time limit + tests is trickier than it was in real contest.So you need to optimize your program more.