For a better experience on RandomWits, enable JavaScript in your browser.
RandomWits
increasing entropy of the universe
Tags
Books
Quotes
Habits
Travel
Resources
About
Contact
On This Page
Posts Tagged “stack”
Sat 18 Dec 2021
Remove-all-adjacent-duplicates-in-string-ii Solution
You are given a string s and an integer k, a k duplicate removal consists of choosing k adjacent and equal letters from s and removing them, causing the left and the right side of the deleted substring to concatenate together...
Continue reading →
leetcode
stack
python
java
scala
javascript