摘要: Given two binary search trees root1 and root2. Return a list containing all the integers from both trees sorted in ascending order. Example 1: Input: 阅读全文
posted @ 2020-01-16 14:57 Schwifty 阅读(175) 评论(0) 推荐(0)
摘要: Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Input: n = 5 Output: [-7,-1,1,3,4] Explanatio 阅读全文
posted @ 2020-01-16 14:00 Schwifty 阅读(142) 评论(0) 推荐(0)
摘要: A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents 阅读全文
posted @ 2020-01-16 13:04 Schwifty 阅读(123) 评论(0) 推荐(0)