Re: [algogeeks] Microsoft Interview Question

2012-06-14 Thread nadeem khan
how to do it in space comp- O(1) . I mean without using additional arrays. Could it be done ? On Thu, Jun 14, 2012 at 3:46 PM, utsav sharma wrote: > @all :- by segregating 0 and 1 or by taking quicksort approach > we have to swap no.s resulting which array becomes unordered. > > my approach is s

Re: [algogeeks] Re: Can anyone explain this strange behavior ?

2012-06-12 Thread nadeem khan
i=-3 it gets incremented to -2 (++i) m is evaluated and as ++i is non zero it evaluates to TRUE and m is assigned value 1, hence remaining part is not executed , so j and k is not incremented. On Tue, Jun 12, 2012 at 2:19 AM, Dave wrote: > This is the result of short-circuit evaluation. See, e

Re: [algogeeks] If any one have algorithms for interviews by adnan aziz ebook... Please mail ...

2012-06-07 Thread nadeem khan
please share the link !! On Thu, Jun 7, 2012 at 3:01 PM, Abhishek Sharma wrote: > yes,it is helpful,but read it only if u have fully understood > "Introduction to algorithms" or if u have strong foundation of > algorithms/data structures > > > On Thu, Jun 7, 2012 at 12:37 PM, BUBUN SHEKHAR wrote: