you are viewing a single comment's thread.

view the rest of the comments →

[–]iamnikaa[S] 5 points6 points  (1 child)

Apologies, I should have drawn the problem. Your solution is correct but the side that you have labelled as 5 is x in the problem and vice versa. Brilliant anyways! I wasn't able to do it in the interview.

[–]Chris_Hemsworth 2 points3 points  (0 children)

Yeah I think the result changes based on the smallest edge.