![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
iteye_5102
这个作者很懒,什么都没留下…
展开
-
用递归实现迷宫问题
1.编写迷宫类Maze.java [code="java"]public class Maze { private final int PATH = 7; //PATH用于标记正确路径 private final int TRIED = 3;//TRIED用于标记能通过且尝试过的路径 private int[][] grid = {{1, 1, 0, 0}, 1, 1...原创 2010-12-03 22:09:45 · 424 阅读 · 0 评论 -
快速排序的实现
先写代码,一会再总结 [code="java"]public class TestQuickSort { public static void main(String[] args) { int[] array = {6, 4, 5, 2, 3, 1}; for (int x : array) { System.out.print(x + " ")...原创 2010-12-05 21:57:27 · 89 阅读 · 0 评论