Code Zone
Labels
BareMinimum
Done
FrequentlyAsked
RecentQuestions
Revise
Thursday, October 25, 2012
BST with node equals sum of all greater nodes
Given a BST, convert it so that each node has value equal to sum of all the nodes (including itself) which are greater than that node in the whole tree.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment