You are viewing a single comment's thread. Return to all comments →
HI @imaginationsuper , Could you please let me know why you are checking if (root.depth%K == 0)?
Seems like cookies are disabled on this browser, please enable them to open this website
Swap Nodes [Algo]
You are viewing a single comment's thread. Return to all comments →
HI @imaginationsuper , Could you please let me know why you are checking if (root.depth%K == 0)?