search for: eachpath

Displaying 1 result from an estimated 1 matches for "eachpath".

Did you mean: archpath
2011 Sep 04
2
what is wrong with my quicksort?
Hey guys, I tried to program quicksort like this but somethings wrong. please help >partition <- function(x, links, rechts){ > > i <- links > j <- rechts > t <- 0 > pivot <- sample(x[i:j],1) > > while(i <= j){ > > while(x[i] <= pivot){ > i = i+1} > > while(x[j] >= pivot){ > j = j-1} > > if( i