Extremal Properties of Graphs and Eigencentrality in Trees with a Given Degree Sequence