上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: 1、 Find the nth to last element of a singly linked list. The minimum number of nodes in list is n. Given a List 3->2->1->5->null and n = 2, return nod 阅读全文
posted @ 2016-03-29 15:52 自朗活 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1、私有化构造器,不能直接创建,调用方法创建对象; 2、饿汉式:instance在类装载时就实例化 3、静态内部类: 阅读全文
posted @ 2016-03-28 18:06 自朗活 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1、 Given an array of integers, find the subarray with smallest sum. Return the sum of the subarray. For [1, -1, -2, 1], return -3 2、 1、只需要求出最小值 2、利用su 阅读全文
posted @ 2016-03-28 18:00 自朗活 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 不大懂 1、 Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its 阅读全文
posted @ 2016-03-28 17:32 自朗活 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页