代码搜索:递归回溯
找到约 2,805 项符合「递归回溯」的源代码
代码结果 2,805
www.eeworm.com/read/200593/15429097
java dig9_d.java
public class Dig9_d
{
final static int M=9;
static void count(int n,int k) //递归方法
{
int i;
if (n==1) //在1前留空
for (i=1;i
www.eeworm.com/read/200593/15429098
bak dig9_d.java.bak
public class Dig9_d
{
final static int M=9;
static void count(int n,int k) //递归方法
{
int i;
if (n==1) //在1前留空
for (i=1;i
www.eeworm.com/read/110698/15527308
txt 设计文档.txt
by 耿关辉
===========================================================================================================================
问题描述:
在双向链表上实现快速排序的递归算法。
问题分析:
课本中的快速排序算法并不是用链表来实现递
www.eeworm.com/read/378782/9216359
cpp tree.cpp
// Tree.cpp : Defines the entry point for the console application.
//
/*
实验题目:二叉的遍历
开发思想:本实验分别用了递归和非递归来实现前序、中序、后序
方式的遍历二叉树,还实现了层次遍历,并求出树高。
在这些实现中,主要用到的是队列链和链栈。
开发人员:葛兴高
开发日期:20
www.eeworm.com/read/378782/9216373
cpp stdafx.cpp
/*
实验题目:二叉的遍历
开发思想:本实验分别用了递归和非递归来实现前序、中序、后序
方式的遍历二叉树,还实现了层次遍历,并求出树高。
在这些实现中,主要用到的是队列链和链栈。
开发人员:葛兴高
开发日期:2004、10、29
*/
#include "stdafx.h"
#include
//--------
www.eeworm.com/read/131823/14123208
cpp statin.cpp
//计科二班 633寝室
// 章健军 20020810227
// 钟俊 20020810228
// 王重阳 20020810222
// 叶文华 20020810225
//
// 本实验解决火车进出站排列次序的问题,采用栈结构存储“火车次序”,用递归算法实现
//
// 递归函数stat()的参数中三个栈S1,S2,S3分别存储火车进站前、进站后与出站后的火
www.eeworm.com/read/113995/15118941
cpp tree.cpp
// Tree.cpp : Defines the entry point for the console application.
//
/*
实验题目:二叉的遍历
开发思想:本实验分别用了递归和非递归来实现前序、中序、后序
方式的遍历二叉树,还实现了层次遍历,并求出树高。
在这些实现中,主要用到的是队列链和链栈。
开发人员:葛兴高
开发日期:20
www.eeworm.com/read/113995/15118954
cpp stdafx.cpp
/*
实验题目:二叉的遍历
开发思想:本实验分别用了递归和非递归来实现前序、中序、后序
方式的遍历二叉树,还实现了层次遍历,并求出树高。
在这些实现中,主要用到的是队列链和链栈。
开发人员:葛兴高
开发日期:2004、10、29
*/
#include "stdafx.h"
#include
//--------
www.eeworm.com/read/281334/9161815
cpp treecros.cpp
// treecros.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
//二叉树遍历(递归)
#include
struct node
{
char data;
node *left;
node *right;
www.eeworm.com/read/145817/12700679
java fib.java
// =============== Program Description ===============
// 程序名称: fib.java
// 程序目的: 运用递归设计一个求费氏级数的程序。
// Written By Kuo-Yu Huang. (WANT Studio.)
// ======