资源列表
[数据结构常用算法] SPOJ3273_treap
说明:数据结构Treap的C++实现,时间复杂度nlogn-Data structure Treap the C++ implementation, the time complexity nlogn<liuzhongxin> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] chazhao
说明:折半查找算法的递归算法,采用顺序方式存储。完整的程序-Recursive algorithm binary search algorithm, using the order stored. Complete program<changqianqian> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] nqueen
说明:用概率算法求解N皇后问题。1、拉斯维加斯概率算法 每一行得到了几个摆放位置时,不是按顺序进行摆放,而是随机摆放的。因此程序每次运行的时间都不一样。用拉斯维加斯算法除非找不到解,如果找到,答案就一定是正确的。-Probabilistic algorithm with N queens problem. 1, Las Vegas probabilistic algorithms have several display each line position, not by placing the<miss_xu> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] chessboard
说明:用C++语言实现棋盘覆盖分治算法 在一个2k×2k 个方格组成的棋盘中,恰有一个方格与其它方格不同,称该方格为一特殊方格,且称该棋盘为一特殊棋盘。在棋盘覆盖问题中,要用4种不同形态的L型骨牌覆盖给定的特殊棋盘上除特殊方格以外的所有方格-C++ language with the board divided coverage of a 2k × 2k Algorithm in the composition of the board of squares, just a different box<kyc> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] BinaryTree
说明:求解任意一个二叉树的中序先序后序遍历结果-Solving any one of the first order binary tree in postorder traversal sequence results<灵霄> 在 2025-06-15 上传 | 大小:1kb | 下载:0