Are you summing the numbers on each set query?
Sukun Tarachandani
IDD Electrical Engineering(2nd year)
IIT Roorkee


On Fri, May 4, 2012 at 10:56 PM, vIGNESH v <[email protected]> wrote:

>
> Hai
>
> Can you brief about the rest of the cases?
>
>
> On 4 May 2012 01:56, Umer Farooq <[email protected]> wrote:
>
>> Hi friends!
>>
>> I hope that you are doing really good these days.
>>
>> I submitted my code on interviewstreet.com
>>
>> The problem statement can be found on
>> https://www.interviewstreet.com/challenges/dashboard/#problem/4f1c739a6ea3a
>>
>>
>> However, it passed for only two cases and gave a time out error for the
>> rest of cases. Can anyone please tell me where I am lacking?
>>
>> Is there anything I can do to improve the running time of my code?
>>
>> I thought it was because Java runs slower, but they have a greater limit
>> of running time for java code.
>>
>> Please find the code in the attachment.
>>
>> --
>> Umer
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to