Khan Academy interview question

Reverse a string in Python

Interview Answer

Anonymous

Jun 30, 2022

reversed(s) Interviewer followup: I was looking for s[::-1], slicing is faster