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
|
1409 Discussions
|
Please Login in order to post a comment
python:
Hi I tried with no more than a simple if else and I could, just my logic is kind of weird but works.
Why is the test case below is expected as "No"? y yu 2
Just remove/append the u
C++ solution
TS Solution -- optimal time complexity but not optimised:
function appendAndDelete(s: string, t: string, k: number): string { // Write your code here
}