1578. Minimum Time to Make Rope Colorful
⭐️⭐️⭐️ # 題目敘述 Alice has n balloons arranged on a rope. You are given a 0-indexed string colors where colors[i] is the color of the ith balloon. Alice wants the rope to be colorful. She does not want two consecutive balloons to be of the same color, so she asks Bob for help. Bob can remove some...
more...