希尔排序Java示例 [英] Shell sort Java example
问题描述
谁能给我如约希尔排序?我是一个新的人在这里谁必须了解希尔排序,但首先我必须找到一个Java希尔排序的例子。我发现一个例子在谷歌,但它是太困难了。
Can anyone give me example about shell sort? I'm a new person in here who must learn about shell sort, but first I must find a Java shell sort example. I found one example in Google but it's too difficult.
推荐答案
您是否尝试过阅读维基百科的文章首先这里 ?它提供了一个pretty的良好基础与插图和例子。
Have you tried reading the wikipedia article first here? It provides a pretty good basics with illustration and examples.
之后,你可能想看看一些Java小应用程序和放大器;动画描绘这个排序过程这里。
Thereafter you might like to check out some java applets & animations depicting this sorting process here.
我希望,在那之后,你会发现在java code <一个href="http://www.java-tips.org/java-se-tips/java.lang/shell-sort-implementation-in-java.html">here,例如,更具可读性。
Hopefully, after that, you might find the java code here, for example, far more readable.
希望它帮助。
这篇关于希尔排序Java示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!