摘要: Given an undirected tree consisting of n vertices numbered from 0 to n-1, which has some apples in their vertices. You spend 1 second to walk over one 阅读全文
posted @ 2020-05-12 13:41 CNoodle 阅读(780) 评论(0) 推荐(0)
摘要: Given an array of integers arr. We want to select three indices i, j and k where (0 <= i < j <= k < arr.length). Let's define a and b as follows: a = 阅读全文
posted @ 2020-05-12 07:03 CNoodle 阅读(586) 评论(0) 推荐(0)