原创 leetcode之旅-easy(House Robber)

最近,一直在科研與刷題之間周旋。正在研究第三篇論文,實驗室同年級都已經出現RANK A 的檔次了,壓力山大!對於不讀博的我來說,還是抓緊刷題比較實在。 leetcode還沒有做多少,但是我希望這個能夠成爲激勵我不斷加速的動力。 對於算法已

原创 leetcode-jump Game2

Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element i

原创 leetcode-Spiral Matrix II

Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n

原创 Linux多線程與同步

作者:Vamei 出處:http://www.cnblogs.com/vamei 歡迎轉載,也請保留這段聲明。謝謝!   典型的UNIX系統都支持一個進程創建多個線程(thread)。在Linux進程基礎中提到,Linux以進程爲單

原创 leetcode-Valid Parentheses

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid

原创 leetcode-triangle

Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row

原创 leetcode-jump game

Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element i

原创 leetcode-Subsets

Given a set of distinct integers, nums, return all possible subsets. Note: Elements in a subset must be in non-desce

原创 leetcode-Spiral Matrix

Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example,

原创 leetcode - Trapping Rain Water

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water i

原创 leetcode-Subsets II

Subsets II Given a collection of integers that might contain duplicates, n

原创 RestFul理解

REST(Representational State Transfer ),有中文翻譯爲"具象狀態傳輸"(也有:"代表性狀態傳輸")。是由 Roy Thomas Fielding博士 在2000年就讀加州大學歐文分校期間在學術論文中提

原创 kafka-客戶端c接口

轉自: https://github.com/edenhill/librdkafka kafka 客戶端用c,服務器端用java,日誌消息傳輸,get it!

原创 Restful與soap

Web 服務編程,REST 與 SOAP 爲什麼選擇 REST REST 架構風格是一種全新的針對 Web 應用的開發風格,與 RPC 風格的 Web 服務(關於 RPC 風格的 Web 服務描述,請參見 Wikipei

原创 大數據架構:flume-ng+Kafka+Storm+HDFS 實時系統組合

大數據架構:flume-ng+Kafka+Storm+HDFS 實時系統組合 分類: big data綜合知識2014-05-09 20:56 2474人閱讀 評論(1) 收藏 舉報 大數據架構 個人觀點:大數據我們都知道h