摘要: Query on a tree III You are given a node labeled rooted tree with n nodes. Define the query (x, k): Find the node whose label is k th largest in the s 阅读全文
posted @ 2017-12-02 17:58 Tyw_ei 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Query on a tree II You are given a tree (an undirected acyclic connected graph) with N nodes, and edges numbered 1, 2, 3...N 1. Each edge has an integ 阅读全文
posted @ 2017-12-02 17:10 Tyw_ei 阅读(186) 评论(0) 推荐(0) 编辑