algorithm from leetcode and book
- clockangle 计算时钟的夹角
- medianlist
- randomrange 变更随机数生成区间
//random5*5=> 0,5,10,15,20
//+random5 => 0,1,2,3,4,5,6...24 - thread_test pthread线程库产生子线程
- uniquechar 检查字符串数组是否唯一
- zipchar 压缩相连相同字符串的算法好像是leetcode的题目
- 用make编译kmeans算法
都是挑简单的开始做的[也要试试]
add2numbers.cpp Create add2numbers.cpp 2 years ago
balancedbinarytree.cpp back form siping 2 years ago
basiccalculaterII.cpp leetCode Test 2 years ago
binarytreelevelorder.cpp btree 2 years ago
binarytreepaths.cpp tranversal tree 2 years ago
binarytreepostorder.cpp tranversal tree 2 years ago
candy.cpp back form siping 2 years ago
climbingstairs.cpp btree 2 years ago
combinationsumIV.cpp dynamic programming a year ago
countingbits.cpp count bits a year ago
editdistance.cpp dynamic program 2 years ago
findpeakelement.cpp easy a year ago
findthedifference.cpp the same algorithm 2 years ago
firstbadversion.cpp easy a year ago
happynumber.cpp btree 2 years ago
implementtrieprefixtree.cpp trie tree 2 years ago
intersectionoftwoarrays.cpp easy algorithm 2 years ago
linkedlistcycle.cpp linked list cycle a year ago
longestincreasingsubsequence.cpp leetcode 2 years ago
majorityelement.cpp btree 2 years ago
maximumdepthofbtree.cpp easy algorithm 2 years ago
merge2storedlists.cpp merge sort lists 2 years ago
movezeros.cpp acc add 2 years ago
nimgame.cpp acc add 2 years ago
numberofdigit1.cpp leetcode 2 years ago
pascaltriangle.cpp easy a year ago
pathsum.cpp btree 2 years ago
powerofthree.cpp trie tree 2 years ago
ransomnote.cpp easy algorithm 2 years ago
recovertree.cpp Create recovertree.cpp 2 years ago
recovertstring.cpp leetcode test 2 years ago
removeelement.cpp easy a year ago
restoreip.cpp dynamic program 2 years ago
rotateimage.cpp leetcode test 2 years ago
sametree.cpp easy 2 years ago
shufflearray.cpp leetcode 2 years ago
singlenumber.cpp the same algorithm 2 years ago
singlenumberIII.cpp medium a year ago
substringwithconcatenation.cpp dynamic program 2 years ago
sumof2int.cpp acc add 2 years ago
sumroot2leaf.cpp btree 2 years ago
symmetrictree.cpp easy a year ago
topKfrequentelement.cpp sort is important a year ago
twosum.cpp easy 2 years ago
uglynumber.cpp btree 2 years ago
verifypreorderofaBTree.cpp leetcode 2 years ago
wordsearch.cpp easy 2 years ago
Combination Given two integers n and k,
return all possible combinations of k numbers out of 1 ... n.
- waterbucket 不同容积的杯子量一定量水的算法
- ring:Making a ring data struct form stl
- purge:delete pointers in an STL sequence container