java多线程——线程的状态

线程的状态转换如下图所示: 可以参考我的另一篇博客线程状态转换的内容。线程的创建实现Runnable接口这个接口非常简单:@FunctionalInterface public interface Runnable { /** * When an object implem...

2017-04-09 15:53:26

阅读数:389

评论数:0

leetcode413 Arithmetic Slices

题目A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is t...

2017-04-08 15:15:41

阅读数:287

评论数:0

leetcode538 Convert BST to Greater Tree

题目Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of a...

2017-04-05 20:31:24

阅读数:528

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭