Skip to content / Đến nội dung
ThichHocToan.com

ITOT 44 Spring 2023 · THPT · A (Advanced) Question 1

ITOT · ITOT 44 Spring 2023 · THPT · A (Advanced)

Question 1

Two strings each consist of 100 letters, all $A$ or $B$. In one step one may insert any number of identical letters at a chosen position, or delete any number of consecutive identical letters. Prove that either string can be transformed into the other in at most100 steps.

Question illustration