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.
string1:-adesbghc
string2:-abc
steps:-5;
bro this should work. but instead of "Yes" it is saying "No". It requires only 5 steps of deletion only, but your code needs 9 steps..
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Append and Delete
You are viewing a single comment's thread. Return to all comments →
string1:-adesbghc string2:-abc steps:-5; bro this should work. but instead of "Yes" it is saying "No". It requires only 5 steps of deletion only, but your code needs 9 steps..