Find the lowest common ancestor of two nodes that know their parent, with O(1) extra space

mediumAbout 25 minutesUpdated CodingProtreeslowest-common-ancestortwo-pointersparent-pointers
Not solved

Share this question

Problem

Private, and saved in this browser as you type. All your notes are on My lists.

Every question and answer7 days, one payment