原创 Valid Anagram -- leetcode

Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "na

原创 Perfect Squares -- leetcode

Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which su

原创 H-Index II -- leetcode

Follow up for H-Index: What if the citations array is sorted in ascending order? Could you optimize your algorithm?

原创 First Bad Version -- leetcode

You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of

原创 Presto架構及原理

原文鏈接:https://blog.csdn.net/dxl342/article/details/78127384 Presto 是 Facebook 推出的一個基於Java開發的大數據分佈式

原创 Nim Game -- leetcode

You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you

原创 Longest Increasing Subsequence -- Leetcode

Given an unsorted array of integers, find the length of longest increasing subsequence. For example, Given [10, 9,

原创 Super Ugly Number -- leetcode

Write a program to find the nth super ugly number. Super ugly numbers are positive numbers whose all prime factors a

原创 Bulls and Cows -- leetcode

You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to g

原创 Range Sum Query - Mutable -- Leetcode

Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. The update(i,

原创 Minimum Height Trees -- Leetcode

For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a root

原创 The Log-Structured Merge-Tree

作者:Patrick O’Neil &Edward Cheng etc. 1996 原文:http://www.springerlink.com/content/rfkpd5yej9v5chrp/ 譯者:phylips@bmy 20

原创 LevelDb日知錄

文章來自朗格科技http://www.samecity.com/ LevelDb日知錄之一:初識LevelDb             說起LevelDb也許您不清楚,但是如果作爲IT工程師,不知道下面兩位大神級別的工程師,那您的

原创 跳錶SkipList

原文地址:http://www.cnblogs.com/xuqiang/archive/2011/05/22/2053516.html 跳錶SkipList 1.聊一聊跳錶作者的其人其事 2. 言歸正傳,跳錶簡介 3. 跳

原创 Remove Invalid Parentheses -- Leetcode

Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results