Archive: 2017/7


Leetcode: Combination Sum II

ProblemGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once in the combi


Why is Kafka so fast

As we all know that Kafka is very fast, much faster than most of its competitors. So what’s the reason here? Avoid Random Disk AccessKafka writes everything onto the disk in order and consumers fetch