Problem
Given a string s, return a new string with its characters in reverse order. Do not use built-in string reversal helpers such as slicing with a negative step, reversed(), or language/library methods that directly reverse the string.
Constraints
- 0 <= len(s) <= 10^5
- s may contain letters, digits, spaces, punctuation, and Unicode characters
- Do not use built-in helper methods that directly reverse the string
Function Signature
def reverse_string(s):
Practicing as: QA Engineer interview at SpeechifyHi, I'll play your Speechify interviewer for the QA Engineer role. Candidates describe these interviews as often stressful and moderately difficult, so expect me to be direct and to the point. Take your time with the question above and answer like we're in the room.
You are practicing as a guest. Sign up free to run your code against the sample data. Your draft stays right here.


