solution
In an online game, N blocks are arranged in a hierarchical manner. Each block is given an ID from 1 to N. A block may be further connected to other blocks. All the blocks are connected by N-1 connections. Each block is assigned a specific point value. A player starts from a block (S). She […]


