Google Interview QuestionJava Developers
- 0of 0 votes
Give you a csv file There are three columns are id, parent, weight Then give you a class Node which has these three fields
But you also have the option of adding more fields for you to print out all the node's subwebs.
The definition of subweight is the sum of the node's weight plus the subweight of his children.
Country: United States