Sorting algorithms/Comb sort: Difference between revisions

m
no edit summary
m (Add R code to the list)
mNo edit summary
Line 2,193:
 
=={{header|R}}==
{{trans|D}}
 
<lang R>comb.sort<-function(a){
gap<-length(a)
swaps<-1