i need your advise please help
- by davit-datuashvili
for example we have array of color
String s[]=new String[]{"red","black..............};
all color is red or black i need algorithm which partition array such that all red came before to black so how compare it and exchange to accomplish this task
,