xinyu04

导航

2022年8月25日 #

[Oracle] LeetCode 1010 Pairs of Songs With Total Durations Divisible by 60

摘要: You are given a list of songs where the ith song has a duration of time[i] seconds. Return the number of pairs of songs for which their total duration 阅读全文

posted @ 2022-08-25 17:05 Blackzxy 阅读(9) 评论(0) 推荐(0) 编辑

[Oracle] LeetCode 1161 Maximum Level Sum of a Binary Tree

摘要: Given the root of a binary tree, the level of its root is 1, the level of its children is 2, and so on. Return the smallest level x such that the sum 阅读全文

posted @ 2022-08-25 15:49 Blackzxy 阅读(14) 评论(0) 推荐(0) 编辑

[Oracle] LeetCode 1326 Minimum Number of Taps to Open to Water a Garden

摘要: There is a one-dimensional garden on the x-axis. The garden starts at the point 0 and ends at the point n. (i.e The length of the garden is n). There 阅读全文

posted @ 2022-08-25 05:40 Blackzxy 阅读(15) 评论(0) 推荐(0) 编辑