GN 使用gn編譯項(xiàng)目的過程: 編寫.gn文件模塊化各個(gè)模塊晋辆,分別寫一個(gè)build.gn,添加進(jìn)主目錄的build.gn的依賴中蜀肘。 gn gen...
1. 數(shù)據(jù)類型與變量 C++中布爾類型是bool蚁吝,字符串類型是string 需要注意的點(diǎn) string 都是 ASCII, 而不是unicode...
遞歸 非遞歸
二叉樹的遍歷 1. 前序遍歷 1.1 遞歸前序遍歷 1.2 非遞歸前序遍歷 2 中序遍歷 2.1遞歸遍歷 2.2非遞歸中序遍歷 3 后序遍歷 3...
從簡(jiǎn)單到復(fù)雜大致排序 1. 內(nèi)置排序函數(shù)(不要太簡(jiǎn)單好嗎) 2. 冒泡排序(排序的helloword) 3.插入排序(靜靜躺著链嘀,期待下面大佬的表...
Description Given a square grid of size n, each cell of which contains i...
Description There are two parallel roads, each containing N and M bucket...
Description Every house in the colony has at most one pipe going into it...
Description Given the list of coins of distinct denominations and total ...