End of Year Sale: Use Coupon Code END2025 to Get Extra 25% Off.
s.s and update the count dictionary.order.
a. Append the character to the result string as many times as its count in the dictionary.
b. Set the count of that character to 0 in the dictionary to indicate it's been fully added to the result.order, append them to the result string as many times as their count.