摘要: Given an integer array nums, return the number of triplets chosen from the array that can make triangles if we take them as side lengths of a triangle 阅读全文
posted @ 2020-10-02 02:08 CNoodle 阅读(233) 评论(0) 推荐(0)
摘要: Given m arrays, and each array is sorted in ascending order. Now you can pick up two integers from two different arrays (each array picks one) and cal 阅读全文
posted @ 2020-10-02 01:29 CNoodle 阅读(416) 评论(0) 推荐(0)
摘要: You have a RecentCounter class which counts the number of recent requests within a certain time frame. Implement the RecentCounter class: RecentCounte 阅读全文
posted @ 2020-10-02 00:22 CNoodle 阅读(317) 评论(0) 推荐(0)