MCPcopy Create free account
hub / github.com/Hsinha11/Leetcode-solutions / Solution

Class Solution

344-reverse-string/reverse-string.py:1–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class Solution:
2 def reverseString(self, s: List[str]) -> None:
3 """
4 Do not return anything, modify s in-place instead.
5 """
6 s[:] =s[::-1]
7
8

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected