Re: [algogeeks] an array question

2011-08-13 Thread chengjie qi
.. On Sat, Aug 13, 2011 at 7:15 AM, chengjie qi starboy...@gmail.com wrote: int compare(int a, int b) { string s = Integer.tostring(a); string y = Integer.tostring(b); if (s +y y+s) return -1; else return 1; } use this to write quick sort , you can get the answer. On Fri

Re: [algogeeks] an array question

2011-08-12 Thread chengjie qi
/algogeeks?hl=en. -- stay hungry stay foolish Chengjie Qi -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr