[algogeeks] Re: reversing strings using array

2007-06-18 Thread chaman
Well Reversing the array i.e. reversing the sequence of words in an array can be done as below : 1. Reverse the whole string i.e. reverse the sequence of alphabets : dlrow olleh 2. Reverse the words independently now i..e apply the step 1 on sub arrays that are enclosed between 2 blank spaces.:

[algogeeks] Re: Find the missing integer

2006-06-22 Thread chaman
@anil Buddy my proposed algo is linear one, since you do the xor operation (d+1)n times, where d is the number of bits in N. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this