Strange Printer
Hard
Interval DP
A printer prints a sequence of identical characters in one turn and each turn may overwrite any contiguous range. Print the minimum number of turns needed to print the given string.
Constraints
1 <= len(s) <= 100 Lowercase letters
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.