Google Interview Question

I need to find the maximum length of consecutive integer sequence in Binary Search Tree.

Interview Answer

Anonymous

Mar 4, 2016

My approach was pretty good and I almost solved the problem but don't know what went wrong!