Living_Tribunal's blog

By Living_Tribunal, history, 3 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • +5
  • Vote: I do not like it