Given an encoded string where characters are followed by a number indicating repetition (e.g., 'ab2c3' meaning 'abbccc'), find the Kth character (1-indexed) of the expanded string without fully…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.