Minimum number of hospitals to be built on a tree such that it is available on every node or on the consecutive node

minimum number of hospitals to be built on a tree such that it is available on every node or on the consecutive node