We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Append and Delete
Append and Delete
Sort by
recency
|
1444 Discussions
|
Please Login in order to post a comment
The test case 7 is wrong
s=aaaaaaaaaa t=aaaaa k=7
You only need 5 delete operations on s to convert t
But the test case expect "Yes"
There is a testcase 5 in which we have: y yu 2 Should'nt the expected output be 'Yes'? because the operation can be performed according to me.
Here is problem solution in Python, Java, C++, C and Javascript - https://programmingoneonone.com/hackerrank-append-and-delete-problem-solution.html
python