Loading page…
Three interview problems ask for a best value on a tree where a choice at one node limits its neighbours. The move is to return a short tuple from every node and combine only the tuples of the children. The lecture covers taken and left totals, route lengths, tower states and the answer that sits at any node.
Three interview problems ask for a best value on a tree.