Talk:Sorting algorithms/Gnome sort: Difference between revisions

From Rosetta Code
Content added Content deleted
(C problem? The second j := j + 1 seems to be missing?)
 
(it works, but maybe not gnome sort then...)
Line 1: Line 1:
== C problem? ==
== C problem? ==
The second <code>j := j + 1</code> from the example seems to be missing? --[[User:Paddy3118|Paddy3118]] 17:04, 27 April 2009 (UTC)
The second <code>j := j + 1</code> from the example seems to be missing? --[[User:Paddy3118|Paddy3118]] 17:04, 27 April 2009 (UTC)
: The code works for sure (I've used it in LZW... anyway I've written also a test code and did some testing and it seems to work...); I can't remember, maybe I've "reinterpreted" it or optimized it... I will study if it is still Gnome, or if I've changed it so that it can be called Gnome sort no more. --[[User:ShinTakezou|ShinTakezou]] 18:28, 27 April 2009 (UTC)

Revision as of 18:28, 27 April 2009

C problem?

The second j := j + 1 from the example seems to be missing? --Paddy3118 17:04, 27 April 2009 (UTC)

The code works for sure (I've used it in LZW... anyway I've written also a test code and did some testing and it seems to work...); I can't remember, maybe I've "reinterpreted" it or optimized it... I will study if it is still Gnome, or if I've changed it so that it can be called Gnome sort no more. --ShinTakezou 18:28, 27 April 2009 (UTC)