摘要:
A Cartesian tree is a binary tree constructed from a sequence of distinct numbers. The tree is heap-ordered, and an inorder traversal returns the orig 阅读全文
摘要:
7-3 Telefraud Detection (25分) Telefraud(电信诈骗) remains a common and persistent problem in our society. In some cases, unsuspecting victims lose their e 阅读全文
摘要:
典中典多线程打印题,我来归纳一下: 三个线程分别打印 A,B,C,要求这三个线程一起运行,打印 n 次,输出形如“ABCABCABC....”的字符串 使用Semaphore 这一招也是我最喜欢的,简单无脑 public class Main { private static final Semap 阅读全文