about the usage of mudolus operator
Posted
by matin1234
on Stack Overflow
See other posts from Stack Overflow
or by matin1234
Published on 2010-06-08T07:07:47Z
Indexed on
2010/06/08
7:12 UTC
Read the original article
Hit count: 279
java
|data-structures
Hi
this a part of code for Quick Sort algorithm but realy I do not know that why it uses rand() %n
please help me thanks
Swap(V,0,rand() %n) // move pivot elem to V[0]
© Stack Overflow or respective owner