can you help where i am wrong
Replace all pi 628
Hi @neeleshr628, problem is in Line No. 9. Pls check that out and and do it correctly. Infact, first try to do this question with 2 strings and then get back to how can you can optimize the algorithm for using only 1 string.
Hope this helps 