Here… It is printing rigth subsequence for length -2 but not for more than -2.
I want to implement this logic for more than 2 length… Please help
Not showing right output
@ashishnnnnn do this using character array it will be simple then
using string makes it very complex
Is my logic is correct…along with code… I am not implementing the video logic
Here i am using substring method thus i had used string… But it is some problem in logic that why it is not giving right answer to this…
Can you implement this logic…using character array
Is there another way to explain the logic…other than writing…
I won’t be able to explain it by writing
I have found the error… But not able to correct it and implement the logic in code in rigth way…
What should i do