算法的Vb.net代码 [英] Vb.net code for algorithms

查看:66
本文介绍了算法的Vb.net代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我需要vb代码进行以下算法快速排序,冒泡排序,循环排序和堆排序。



谢谢



我尝试了什么:



没什么,因为我想研究它们

Hi everyone please I need vb code for the following algorithms quick sort, bubble sort, cycle sort and heap sort.

Thanks

What I have tried:

nothing, cause i want to study them

推荐答案

Google 有什么问题?您可以在网上找到许多代码示例。

这里的代码项目有一篇很好的文章 C#中排序算法的可视化和比较 [ ^ ]。

我认为理解 C#语法应该不是一个很大的障碍。
What's wrong with Google? You may find many code samples on the web.
Here at Code Project there is this nice article Visualization and comparison of sorting algorithms in C#[^].
Understanding the C# syntax shouldn't be a great obstacle, I suppose.


引用:

没什么,因为我想研究它们

nothing, cause i want to study them



Thoses是经典算法,它意味着任何搜索引擎像Google一样会给出很多答案,但是你必须要问它。

请注意,算法不依赖于某种语言,你可以手动研究一种没有给定语言代码的算法。

一副纸牌就是学习排序算法所需要的。



我们不做你的HomeWork。

HomeWork不会在乞求别人做你的工作时测试你的技能,它会让你思考并帮助你的老师检查你对你所学课程的理解以及你在申请时遇到的问题他们。

你的任何失败都会帮助你的老师发现你的弱点并设定补救措施。

你的任何失败都会帮助你了解什么有效,什么无效,被称为'试错'学习。

所以,试一试,重读课程并开始工作。如果您遇到特定问题,请展示您的代码并解释这个问题,我们可能会提供帮助。


Thoses are classical algorithms, it means that any search engine like Google will give heaps of answers, but you have to ask it.
Note that an algorithm do not depend on a language, you can study an algorithm without code in a given language, just by hand.
A deck of cards is all what you need to study sort algorithms.

We do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
Any failure of you will help you to learn what works and what don't, it is called 'trial and error' learning.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.


这篇关于算法的Vb.net代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆