Interview Question
- 0of 0 votes
AnswersGiven a level K , you have to find out the sum of data of all the nodes at level K in a binary tree. Input is given as:
- Notagoodcoder September 19, 2019 in United States
(P(C()())(C()())) P is for Parent, C is for child. if parent has one child : (P(C()())()) if parent has no child : (P()())| Report Duplicate | Flag | PURGE
Samsung
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.