Java
文章平均质量分 63
wbing520
这个作者很懒,什么都没留下…
展开
-
[LeetCode] 3Sum Closest
Given an array of S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exac原创 2014-11-17 13:50:54 · 635 阅读 · 0 评论 -
[LeetCode] 3Sum Solution
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.NotesElements in a triplet (a, b, c) mu原创 2014-11-16 10:07:38 · 509 阅读 · 0 评论 -
[LeetCode] 4Sum Solution
Given an array S of n integers, are there elements a, b, c and d in原创 2014-11-17 08:21:09 · 536 阅读 · 0 评论 -
Volley.jar 制作方法
1. What is Volley?Volley is a library, which is used for原创 2014-09-07 05:40:05 · 1697 阅读 · 0 评论 -
[LeetCode 24] Swap Nodes in Pairs
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */class Solution {public: Li原创 2014-04-19 02:29:52 · 629 阅读 · 0 评论 -
Java Collection Framework
Java collection framework: is a set of classes and interfaces that implement commonly reusable collection data structures.原创 2014-04-18 04:55:12 · 587 阅读 · 0 评论 -
finally block and Exception handling -- Java
The finally block, if used, is placed after a try block and the catch blocks that follow it.原创 2014-04-18 01:28:56 · 840 阅读 · 0 评论 -
Java Input/Output API
Console Input/OutputFile Input/Output原创 2014-04-18 05:18:21 · 1225 阅读 · 0 评论 -
Multi-threading programming in Java
Thread: an independent path of execution through program code.process: is原创 2014-04-18 03:17:33 · 885 阅读 · 0 评论 -
Garbage collection in Java
Automatic Garbage Collection: is the process of looking at heap memory, identifying which原创 2014-04-18 04:11:54 · 1180 阅读 · 0 评论 -
final keyword -- Java
In Java, final keyword is used in several different place to define an entity can not later be changed.原创 2014-04-18 00:55:28 · 685 阅读 · 0 评论 -
Java Basic Knowledage
1. Flow of Controlif - else statements.原创 2014-04-17 01:35:34 · 661 阅读 · 0 评论 -
[LeetCode] Add Binary
Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"原创 2014-11-18 13:31:50 · 877 阅读 · 0 评论