add recursively way to compare the depth difference
add some new comment and solution