Search
⌘K

Leetcode 2810. Faulty Keyboard

Simulate typing through string s where each non-'i' character is appended to the current text and each 'i' causes the entire current text to be reversed; return the final text.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.