leetcode 933.Number of Recent Calls 简单Number of Recent CallsWrite a class RecentCounter to count recent requests.It has only one method: ping(int t), where t represents some time in milliseconds.Re...
leetcode 15.3sumGiven an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:The solution se...
java复习手册:多线程编程进程与线程多线程开发的本质是实质上是多个线程对同一类资源进行抢占。Thread类实现多线程package ali;
public class Demo01 {
public static void main(String[] args) {
new MyThread("小明").start();
new...