In-Out time of nodes
Mon Jan 10 2022 06:55:32 GMT+0000 (Coordinated Universal Time)
Saved by @vaibhav_55
This, a important concept as it will be further used in beidges,articulation point,etc. Major,application of in/out time is that we can tell weather one node lies in subtree of other if x lies in subtree of y then, IN[x] > IN[y] && OUT[x] < OUT[y]
Comments