Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • $\begingroup$ Thank you for your answer but sorry I'm not sure I understand fully. Could you please detail the proof? And also, how do we prove that this statement is true? "Each recursive call corresponds to a distinct prefix of some source-to-target path". To be honeste I'm no sure I fully understand the statement, sorry I lack some knowledge about DSA. $\endgroup$ Commented 10 hours ago