1209. Remove All Adjacent Duplicates in String II
Problem statement
You are given a string s and an integer k, a k duplicate removal consists of choosing k adjacent and the same letters from s and removing them, causing the left and the right side of the deleted substring to concatenate together.
We...
leetsolve.com3 min read
Mahsa Abbasian
Mah
good