摘要: As the ruler of a kingdom, you have an army of wizards at your command. You are given a 0-indexed integer array strength, where strength[i] denotes th 阅读全文
posted @ 2023-01-13 06:40 CNoodle 阅读(167) 评论(0) 推荐(0)
摘要: You are given a tree (i.e. a connected, undirected graph that has no cycles) consisting of n nodes numbered from 0 to n - 1 and exactly n - 1 edges. T 阅读全文
posted @ 2023-01-13 02:34 CNoodle 阅读(113) 评论(0) 推荐(0)