David Buchanan
after submitting my smart solution I had a great idea for a dumb-but-works solution - iteratively .replace() pairs until the string stops getting shorter, then see if it's empty
1 2
David Buchanan
yup Leetle #7 3/6 3:40 [3 lines] ⚠️⚠️⚠️⚠️⚠️⚠️ ⌛️⌛️⌛️⌛️⌛️⌛️ 🟩🟩🟩🟩🟩🟩 (funnily enough it took me longer to get it right than the "smart" solution)
2