NITIN23329 / LeetCode

This repo contains several problems solved at leetcode
MIT License
1 stars 0 forks source link

solve in O(1) space #23

Open NITIN23329 opened 3 years ago

NITIN23329 commented 3 years ago

problem link: https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ sol link : https://github.com/NITIN23329/LeetCode/blob/e6a9aaf6635ef8d2575049c297ccae0f88bf7987/Trees/PopulatingNextRightPointerInEachNode2.java#L1