Re: [algogeeks] Unique characters in a string

2011-07-25 Thread kashish jain
@reynald : I think your code takes care of only 32 ascii characters...and not 256 On Sat, Jul 23, 2011 at 10:07 AM, keyan karthi keyankarthi1...@gmail.comwrote: yup tat should work fine :) :) On Sat, Jul 23, 2011 at 10:03 AM, rajeev bharshetty rajeevr...@gmail.comwrote: Use Quick

Re: [algogeeks] Sorting in O(n)

2011-07-22 Thread kashish jain
actually its a work around...first traverse the list and store it in an array.. sort the array in o(n) then replace the content of the linked list using the values in the array On Sat, Jul 23, 2011 at 1:24 AM, Pankaj jatka.oppimi...@gmail.com wrote: For linklist? How On Sat, Jul 23, 2011 at