Help in Tree challenge from Kodecrypt 2021 round 2 on hackerrank.

Правка en2, от Living_Tribunal, 2021-05-07 17:20:19

This question appeared in a contest on hacerrank.

Any ideas on how to solve this tree problem efficiently? I got only 57.14 points with my binary search and preorder-pattern matching approach.

Here's my approach

I'm asking for your help and approach because no submissions are available to see.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Living_Tribunal 2021-05-07 17:20:19 48
en1 Английский Living_Tribunal 2021-05-07 16:17:40 482 Initial revision (published)