Your question is Normalize Google Docs Edit History. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
In Google Docs, a simple edit log can be represented as a string where lowercase letters mean typed characters and # means backspace. Write a function that returns the final text after processing the entire log.
This problem tests whether you can write clean, maintainable, and efficient code for a straightforward string-processing task.
log containing lowercase English letters and the # character.def normalize_edit_log(log):