
algo
文章平均质量分 67
EricYeung
这个作者很懒,什么都没留下…
展开
-
my_combination in c++
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 1)use int array to simu原创 2008-08-22 08:36:00 · 714 阅读 · 0 评论 -
my_next_permutation in c++
bool my_next_permutation(int *pData, int nSize){ int *pLast = pData + nSize - 1; int *pCurr = pLast; for(;;) { if (pCurr == pData) return false;原创 2008-08-22 08:34:00 · 754 阅读 · 0 评论 -
A simple infix calculator in C++
//invoke sample char szBuf[1024]; m_edtInput.GetWindowText(szBuf, 1023); double db = EvaluateExpression(szBuf); CString strResult; strResult.Format("%f", db); m_edtOu原创 2008-09-14 16:27:00 · 1022 阅读 · 0 评论 -
HeapSort implementation (Introduction to Algorithms)
HeapSort implementation (Introduction to Algorithms)原创 2011-01-10 14:11:00 · 831 阅读 · 0 评论 -
Quick sort implementation (Introduction to Algorithms)
Quick sort implementation (Introduction to Algorithms)原创 2011-01-10 00:17:00 · 719 阅读 · 0 评论 -
CareerCup.Cracking.the.Technical.Interview summaries
CareerCup.Cracking.the.Technical.Interview summaries原创 2011-03-09 14:04:00 · 964 阅读 · 0 评论