代码搜索:递归回溯

找到约 2,805 项符合「递归回溯」的源代码

代码结果 2,805
www.eeworm.com/read/242043/13097721

cpp quicksort.cpp

#include #include "datatype.h" void QuickSort(datatype a[], int low, int high) //用递归方法对对象a[low]--a[high]进行快速排序 { int i, j; datatype temp; i = low; j = high; temp = a[low
www.eeworm.com/read/485824/6547656

cpp bsearch_recursion.cpp

/************************************ * Copyright (c) 2008,LDCI * * 文件名称: BSearch_Recursion.cpp * 摘要: * 使用 C 语言实现对顺序存储结构的线性表进行递归二分查找 ************************************/ #include #
www.eeworm.com/read/264965/11292398

cpp test_binarytree.cpp

//--------------------------------------------------------------------------- /* 例9-1 二叉链表类的测试程序。 二叉树二叉链表类的测试 递归遍历算法与非遍历算法 */ #include "BinaryTree_Bas.h" //-----------------------
www.eeworm.com/read/264965/11292441

cpp test_binarytree.cpp

//--------------------------------------------------------------------------- /* 例9-1 二叉链表类的测试程序。 二叉树二叉链表类的测试 递归遍历算法与非遍历算法 */ #include "BinaryTree_Bas.h" //-----------------------
www.eeworm.com/read/264889/11296414

cpp 3_13.cpp

#include using namespace std; long ComputFactor(int n) //计算n! { long f; if (n
www.eeworm.com/read/401879/11546651

cpp mazerecursiontotalpath.cpp

// //**********************程序说明******************************* // 该程序是迷宫问题递归求解全部路径的C语言代码, // 迷宫二维数组表示,初值与教材图3.4一致 // wjluo,2004年3月3日 //****************************************************
www.eeworm.com/read/257293/11934760

c tree_inorder_rec.c

/* 树的中根周游的递归算法*/ #include #define MAXNUM 20 #define null -1 /* typedef int DataType; */ struct ParTreeNode { /*DataType info; 结点中的元素 */ int parent; /* 结点的父结点位置 */ }
www.eeworm.com/read/257293/11934894

c tree_postorder_rec.c

/* 树的后根周游的递归算法*/ #include #define MAXNUM 20 #define null -1 /* typedef int DataType; */ struct ParTreeNode { /*DataType info; 结点中的元素 */ int parent; /* 结点的父结点位置 */ };
www.eeworm.com/read/257293/11934926

c simknap_rec.c

/* 简化背包问题的递归算法*/ #include #include int knap(int s, int n, int w[]) { if ( s == 0 ) return (1); else if ( s0 && n
www.eeworm.com/read/341974/12050176

html 00148.html

17.11.3 递归特性