|  | 
|  | 
| вернуться в форум | Re: WA #5 Послано xay  16 ноя 2010 19:55see the second sample on your site.
 the answer is 2.
Re: WA #5 Any suggestions on improvement of the algorithm i use?Is my approach wrong or can be fine with some tweaking?
 
 Ravi Kiran.
Re: WA #5 If in your current state s1[i]==s2[j], you should not assume states i+1,j and i,j+1. Only i+1,j+1.Re: WA #5 Thanks a lot everyone.I got accepted with the change you suggested.
 | 
 | 
|