摘要:【算法】平衡二叉搜索树之旋转(百度AI) 一、 平衡二叉搜索树的旋转 二、参考资料 1、 百度AI - https://www.baidu.com/s?word=平衡搜索旋转的原理&rsv_dl=DQA_PC_COPY
阅读全文
随笔分类 - algorithms
探讨:数据结构和算法
摘要:[algorithms] 暴力算法(字符串匹配) 一、代码 1 #include <cstdio> 2 #include <cstdlib> 3 #include <cstring> 4 5 6 int match1(char *source, char *pattern) 7 { 8 int de
阅读全文
摘要:[c/cpp]:递归算法:汉诺塔问题代码 一、代码 1 #include <iostream> 2 3 4 using namespace std; 5 6 7 // plate_numbers=n; 8 // from_stick=from; 9 // target_stick=to; 10 //
阅读全文

浙公网安备 33010602011771号