原创 187. Repeated DNA Sequences(重複的DNA序列)

187. Repeated DNA Sequences(重複的DNA序列) 1 問題描述 All DNA is composed of a series of nucleotides abbreviated as A, C, G, a

原创 3. Longest Substring Without Repeating Characters(無重複字符的最長子串)

3. Longest Substring Without Repeating Characters(無重複字符的最長子串) 1 問題描述 Given a string, find the length of the longest s

原创 49.Group Anagrams同字符詞語分組

49.Group Anagrams同字符詞語分組 1 描述 Given an array of strings, group anagrams together. Example: Input: ["eat", "tea", "tan

原创 290. Word Pattern(詞語匹配)

290. Word Pattern(詞語匹配) 1 問題描述 Given a pattern and a string str, find if str follows the same pattern.Here follow mea

原创 207. Course Schedule(課程安排)

207. Course Schedule(課程安排) 1 問題描述 There are a total of n courses you have to take, labeled from 0 to n-1.Some courses

原创 199. Binary Tree Right Side View(側面觀察二叉樹)

199. Binary Tree Right Side View(側面觀察二叉樹) 1 問題描述 Given a binary tree, imagine yourself standing on the right side of

原创 114. Flatten Binary Tree to Linked List(二叉樹轉鏈表)

114. Flatten Binary Tree to Linked List(二叉樹轉鏈表) 1.問題描述 Given a binary tree, flatten it to a linked list in-place. 給定一

原创 236.Lowest Common Ancestor of a Binary Tree(最近公共祖先)

236. Lowest Common Ancestor of a Binary Tree(最近公共祖先) 1 問題描述 Given a binary tree, find the lowest common ancestor (LCA

原创 409. Longest Palindrome

409. Longest Palindrome 1.問題描述 Given a string which consists of lowercase or uppercase letters, find the length of th

原创 113 Path Sum II(樹的路徑之和爲一個常數)

113. Path Sum II 1 問題描述 Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the g

原创 免費下載百度文庫文檔

http://www.ebuymed.cn

原创 linux常用指令

jobs, fg ->查看運行任務切換任務,ctrl+z直接將當前任務切換到後臺運行 find xargs awk -F ‘\t’ ‘{print $2}’ include_adv_sample | more s

原创 pydensecrf安裝出現問題

mac 通過 pip install pydensecrf 安裝出現如下錯誤: pydensecrf/densecrf/include/Eigen/Core:22:10: fatal error: ‘complex’ file not

原创 xgboost目標函數推導過程

一 說明 xgboost是boosting算法的其中一種,該算法思想就是不斷地添加樹,不斷地進行特徵分裂來生長一棵樹,每次添加一個樹,其實是學習一個新函數,去擬合上次預測的殘差。具體的目標函數如下: (1)Obj(t)=∑i=1nl

原创 Linux基本指令

Linux系統注意事項 Linux主要有連個版本:內核版本和發行版本 Linux是嚴格區分大小寫的,這點與windows不同 Linux中一切內容皆文件,所有的內容都以文件的形式保存,包括硬件 Linux不靠擴展名區分文件類型 Linu