On Thu, Aug 9, 2012 at 11:26 PM, ajay paswan wrote:
>> Then profile (you can do it using ruby-prof gem.)
> In the end of the program, the program never halts, I have no clue where
> it is lopping, how can i know that? i mean the code block where it is
> looping or getting stuck?
You could do poor
On Thu, Aug 9, 2012 at 5:52 PM, ajay paswan wrote:
> Suppose you are given a program, now you are given a task to minimize
> the time, what will be your approach?
What time?
> and how will you measure the time needed?
> I think if we can get total clock cycle by any mean, that could be the
> bes