原创 LeetCode 100 — Same Tree(C++ Java Python)
題目:http://oj.leetcode.com/problems/same-tree/ Given two binary trees, write a function to check if they are equal or
原创 LeetCode 66 — Plus One(C++ Java Python)
題目:http://oj.leetcode.com/problems/plus-one/ Given a non-negative number represented as an array of digits, plus on
原创 LeetCode 98 — Validate Binary Search Tree(C++ Java Python)
題目:http://oj.leetcode.com/problems/validate-binary-search-tree/ Given a binary tree, determine if it is a valid binar
原创 LeetCode 83 — Remove Duplicates from Sorted List(C++ Java Python)
題目:http://oj.leetcode.com/problems/remove-duplicates-from-sorted-list/ Giv
原创 LeetCode 33 — Search in Rotated Sorted Array(C++ Java Python)
題目:http://oj.leetcode.com/problems/search-in-rotated-sorted-array/ Suppose
原创 LeetCode 96 — Unique Binary Search Trees(C++ Java Python)
題目:http://oj.leetcode.com/problems/unique-binary-search-trees/ Given n, ho
原创 常用的Java庫、框架和工具清單
本文同時發佈在我的個人網站,歡迎訪問:http://www.lilongdream.com/2014/04/08/26.html 原文地址:http://www.indiageeks.in/list-of-commonly-used-ja
原创 LeetCode 73 — Set Matrix Zeroes(C++ Java Python)
題目:http://oj.leetcode.com/problems/set-matrix-zeroes/ Given a m x n matrix
原创 Google Code Jam Qualification Round 2014 Problem A. Magic Trick 題解
本文同時發佈在我的個人網站,歡迎訪問:http://www.lilongdream.com/2014/04/13/114.html Problem Recently you went to a magic show. You were
原创 LeetCode 12 — Integer to Roman(C++ Java Python)
題目:http://oj.leetcode.com/problems/integer-to-roman/ Given an integer, convert it to a roman numeral. Input is guaran
原创 LeetCode 34 — Search for a Range(C++ Java Python)
題目:http://oj.leetcode.com/problems/search-for-a-range/ Given a sorted ar
原创 Google Code Jam Qualification Round 2014 Problem D. Deceitful War 題解
本文同時發佈在我的個人網站,歡迎訪問:http://www.lilongdream.com/2014/04/13/129.html Problem Naomi and Ken sometimes play games together
原创 面試10大算法彙總+常見題目解答(Java)
原文地址:http://www.lilongdream.com/2014/04/10/94.html(爲轉載+整理) 以下從Java的角度總結了面試常見的算法和數據結構:字符串,鏈表,樹,圖,排序,遞歸 vs. 迭代,動態規劃,位操
原创 LeetCode 28 — Implement strStr()(C++ Java Python)
題目:http://oj.leetcode.com/problems/implement-strstr/ Implement strStr().
原创 LeetCode 112 — Path Sum(C++ Java Python)
題目:http://oj.leetcode.com/problems/path-sum/ Given a binary tree and a su