I agree with phoenixinter... whats the problem with that?? its the
obvious solution, provided O(n) precomputation time... Abhi, can you
explain whether there is any problem with that solution??

Reply via email to