Code Monkey home page Code Monkey logo

algocpp's Introduction

alogcpp

algorithm from leetcode and book

base基础算法

  • 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的题目

cluster

  • 用make编译kmeans算法

leetcode

都是挑简单的开始做的[也要试试]

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

leetcode medium

Combination Given two integers n and k,   
return all possible combinations of k numbers out of 1 ... n.

puzzle

  • waterbucket 不同容积的杯子量一定量水的算法

stl

  • ring:Making a ring data struct form stl
  • purge:delete pointers in an STL sequence container

algocpp's People

Contributors

bblu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.