第一個Web前端開發項目:天氣應用,web開發項目By Long Luo最近幾天學習了下網頁開發,通過學習,完成了第一個Web前端開發項目:天氣應用資料來源是Yahoo! Weather使用了jQuery庫開發,雖然現在啥都不會,也就到處copy。Created by Long Luo at 2014-09-07 11:36:20 @Shenzhen,
LeetCode-Distinct Subsequences,leetcode-distinct題目:https://oj.leetcode.com/problems/distinct-subsequences/Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is
圖論結論,圖論演算法圖的連通性有向非循環圖中唯一出度為0的點,一定可以由任何點出發均可達(由於無環,所以從任何點出發往前走,必然終止於一個出度為0的點)有向非循環圖中所有入度不為0的點,一定可以由某個入度為0的點出發可達。(由於無環,所以從任何入度不為0的點往回走,必然終止於一個入度為0的點)假定有 n 個入度為0的點,m個出度為0的點,max(m,n)就是第二個問題的解無向連通圖中,如果刪除某點後,圖變成不連通,則稱該點為割點。
Accelerated C++ 學習筆記及題解----第零章,accelerated第零章關於C++的之前說過很多了,而且這本書也算是入門層級的書,因此,打算大概過一遍.前期的<字元,控制流程等部分不會詳細介紹,主要記錄下題解就ok了.so,先從第零章開始.第零章主要內容是以hello world為例子介紹了注釋,#include命令,主函數main和函數以及輸入返回語句逸出字元等.下面是部分題目題解:0-2#include <iostream>using
LeetCode第八題, String to Integer (atoi),leetcodeatoi題目原文Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input