原创 點滴生活-2020年4月22日

敢問路在何方 最近又陷入新一輪“憂鬱”,一種不知道未來在哪裏的憂鬱。 2019年看了一部電影,對我感觸特別深,就先從電影說起吧。這部電影是中國機長,首先點評一下這個電影,劇情很好,拍的也挺好,反正看後覺得挺有意思。之所以感觸深,是想說說這

原创 leetcode之Count and Say

這個題目關鍵是理解題目。別人是這樣理解的。 1 1個1,即11 2個1,即21 1個2,1個1,即1211, 1個1,1個2,2個1,即111221, 3個1,2個2,1個1,即312211 The count-and-sa

原创 leetcode Symmetric Tree

Symmetric Tree My Submissions Question  Solution  Total Accepted: 70743 Total Submissions: 222922 Difficulty: Ea

原创 leetcode Merge Sorted Array

Merge Sorted Array My Submissions Question  Solution  Total Accepted: 67179 Total Submissions: 231573 Difficult

原创 http://www.zhihuishi.com/source/1.html

http://www.zhihuishi.com/source/1.html

原创 leetcode Plus One

Plus One  Total Accepted: 61952 Total Submissions: 205031My Submissions Question  Solution  Given a non-neg

原创 leetcode 67Add Binary

Add Binary My Submissions Question  Solution  Total Accepted: 55613 Total Submissions: 225733 Difficulty: Easy

原创 拉格朗日對偶(Lagrange duality)

2 拉格朗日對偶(Lagrange duality)      先拋開上面的二次規劃問題,先來看看存在等式約束的極值問題求法,比如下面的最優化問題:              目標函數是f(w),下面是等式約束。通常解法是引入拉格

原创 leetcode Length of Last Word

Length of Last Word  Total Accepted: 64034 Total Submissions: 235032My Submissions Question  Solution  Given a

原创 leetcode Balanced Binary Tree

Balanced Binary Tree My Submissions Question  Solution  Total Accepted: 72116 Total Submissions: 225116 Difficu

原创 ROC曲線-閾值評價標準

 ROC曲線指受試者工作特徵曲線 / 接收器操作特性曲線(receiver operating characteristic curve), 是反映敏感性和特異性連續變量的綜合指標,是用構圖法揭示敏感性和特異性的相互關係,它通過將連續變

原创 leetcode Maximum Depth of Binary Tree

Maximum Depth of Binary Tree My Submissions Question  Solution  Total Accepted: 85301 Total Submissions: 188185

原创 leetcode Binary Tree Level Order Traversal II

Binary Tree Level Order Traversal II My Submissions Question  Solution  Total Accepted: 52308 Total Submissions: 

原创 leetcode36Valid Sudoku

// test36ValidSudoku.cpp : 定義控制檯應用程序的入口點。 // #include "stdafx.h" #include

原创 leetcode 70Climbing Stairs

Climbing Stairs My Submissions Question  Solution  Total Accepted: 68776 Total Submissions: 198955 Difficulty: