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.
Isn't this supposed to be yes? since it doesn't take any delete but one add and that is less than 2? I might be missing something. I would appreciate any insights.
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 →
Thanks for sharing this great solution.
But..Test Case 5 has input of 'y','yu',2
Isn't this supposed to be yes? since it doesn't take any delete but one add and that is less than 2? I might be missing something. I would appreciate any insights.