原创 算法學習之動態規劃(leetcode 62. Unique Paths)

0x01題目 62. Unique Paths A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below)

原创 Java編程思想 第一章 對象導論

第一章 對象導論學習總結 面向對象程序設計(Object-oriented Programming, OOP) 1.1 抽象過程 面向對象的五個特性 1. 萬物皆爲對象。可以存儲數據,也可以執行一些操作。 2. 程序是對象的集

原创 算法學習之動態規劃(leetcode 91 Decode Ways)

leetcode 91. Decode Ways A message containing letters from A-Z is being encoded to numbers using the following mapping

原创 皮爾遜相關係數 定義+python代碼實現 (與王印討論公式)

皮爾遜相關係數 定義 皮爾遜相關係數判斷兩組數據與某一直線擬合程度的一種度量 公式及其計算過程如下 python代碼實現 ''' @copyright Programming Collective Intelligen

原创 算法學習之回溯法(leetcode 140. Word Break II)

leetcode 140. Word Break II Given a string s and a dictionary of words dict, add spaces in s to construct a sentence w

原创 算法學習之動態規劃(leetcode 85. Maximal Rectangle)

0x01題目 85. Maximal Rectangle Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing

原创 算法學習之動態規劃(leetcode 174. Dungeon Game)

leetcode 174. Dungeon Game The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a

原创 算法學習之動態規劃(leetcode 44 Wildcard Matching)

leetcode 44. Wildcard Matching Implement wildcard pattern matching with support for ‘?’ and ‘*’. ‘?’ Matches any singl

原创 python 裝飾器小白學習

python裝飾器 import functools def use_log_src(func): print 'log src' func() def use_log(func): def wrapper(*a

原创 1 統計學習方法基礎

1.1 統計學習 概念 統計學習(statistical learning)是關於計算機基於數據構建概率統計模型並運用模型對數據進行預測和分析的一門學科,統計學習也成爲統計機器學習(statistical machine learnin

原创 Java之int與Integer區別

Java之int與Integer區別 int與Integer顯然區別: 1 Ingeter是int的包裝類 2 實例化一個類時,其內部的int類型成員和Integer類型成員的初始值不同:int的初值爲0,Ingeter的初值爲nul