▍1. classical-algorithm-VCPP
常用的算法经典代码,包括快速排序,冒泡排序等各种排序方法,还有二叉树的前序、中序和后序遍历等(The classic algorithm code, including quick sort and bubble sort sorting methods, as well as the preamble of the binary tree, inorder and postorder traversal, etc.)
常用的算法经典代码,包括快速排序,冒泡排序等各种排序方法,还有二叉树的前序、中序和后序遍历等(The classic algorithm code, including quick sort and bubble sort sorting methods, as well as the preamble of the binary tree, inorder and postorder traversal, etc.)
My realization of binary tree. This example is search tree.
二叉树实现,整个包为VS工程。包含了二叉树的基本功能(Binary Tree, the entire package is VS works. Contains the basic functions of the binary tree)
这是一个动态链表的建立、删除、逆序、插入等操作的程序(This is a dynamic linked list to delete the establishment of reverse insert and operating procedures )
实现约瑟夫问题的4种算法,并有计时功能进行效率测试(4 algorithms to resolve Josephus Problem with timing counter for testing efficiency)
二叉树类的前序,后序,层次遍历,其以链表方式存储(Binary tree class pre-order, post-order, hierarchy traversal, the linked list storage)
用分治算法(O(nlogn)复杂度)实现寻找n个点中最邻近点对,输出为最邻近距离的平方(Looking for n points nearest point, the output of the nearest neighbor distance squared using the divide-and-conquer algorithm (O (nlogn) complexity))
VS2010开发 C++语言 实现异质链表(The VS2010 development C++ language heterogeneity linked list)
数据结构乘客设计案例精编中的多项式求和、相乘(Data structures passengers for fine design cases polynomial sum, multiplied)
数据结构ppt(c语言版)含有算法的详细介绍,图形描述。(Data structure ppt (c language version) contain a detailed description of the algorithm, the graphical description.)
设计一个main函数,建立能够存放100个整型数据的顺序表对象,从自然数1开始找出80个能够同时被3和7整除的整数,依次存储到这个顺序表中,然后把其中个位数是偶数的数据输出来,并统计这种数据有多少。请把能够正确运行的main函数写在下面。(Design a main function, the table can be stored in the order of 100 integer data objects, from the natural number 1 to identify 80 can be an integer divisible by 3 and 7, in turn stored in the order table, then single digits outputs the data of the even number, and counts the number of such data. To be able to properly run the main function written below.)
经典数据结构作业,黑杰克游戏。要求程序可以连续打10次,每场比赛的赢家,赢得一个点(两点一倍)。在结束的10场比赛为你和电脑打印出的总奖金。(Write a program that simulates a simplified version of the game "BlackJack". A deck of cards numbered 2 to 10, jacks, queens, kings, and aces is used, where jacks, queens and kings are counted as 10s, and aces are either 1 or 11 at your choice. )
说明: 四路归并排序,将原有的二路归并排序改编的四路归并排序(The four-way merge sort to the original way merge sort adaptation of the four-way merge sort)
用不多于四种颜色为地图染色,使相邻的行政区不重色,是计算机科学中著名的“四染色”的典型应用,应用这个思想,是以回溯的算法对一幅给定的地图染色。是对数据结构中栈的应用。(With no more than four colors map staining the adjacent borough is not heavy color, typical applications of computer science "stain" the application of this idea, a backtracking algorithm on a given mapstaining. The application of the stack data structure.)
括号匹配的C语言工程实现,简单易懂,注释详细!更适合编程初学者学习!学习数据结构的最好资料!(Brackets match the C language engineering, easy-to-understand, detailed notes! More suitable for beginners to learn programming! Learning data structure best!)
二叉搜索树的生成和查找节点,北大《数据结构与算法》教材的习题(The generation and find nodes of a binary search tree, Peking University, " Data Structures and Algorithms" textbook exercises)
c++实现的静态链表 可以从屏幕输入来构建静态链表 数据结构重要的部分(c++ implemented statically linked list can be input from the screen to the important part to build a static linked list data structure)
从屏幕输入字符 判断括号匹配问题 数据结构作业(Judgment parenthesis matching data structure operations input characters from the screen)