- 博客(3)
- 收藏
- 关注
原创 【Leetcode】Sort List JAVA实现
Sort a linked list in O(n log n) time using constant space complexity.
2014-09-28 23:34:07 365
原创 【Leetcode】Maximum Product Subarray JAVA实现
题目描述: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4], the contiguous subarray [2,3] has the la
2014-09-25 19:06:56 347
转载 Java中static关键字用法总结
1. 静态方法 通常,在一个类中定义一个方法为static,那就是说,无需本类的对象即可调用此方法 声明为static的方法有以下几条限制: · 它们仅能调用其他的static 方法。 · 它们只能访问static数据。 · 它们不能以任何方式引用this 或super。 class Simple { static void go() {
2014-09-22 16:53:00 282
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人