Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
deque.extendleft() solution in Creative category for Backward String by Luke747
def backward_string(val: str) -> str:
from collections import deque
d = deque()
d.extendleft(val)
return ''.join(d)
Aug. 5, 2021