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 algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Attachment: Solution.java
Description: Binary data

Reply via email to