Given an N-ary tree pair the leaf nodes such that leaf we are pairing do not have edge used in previous pairing.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.