You are given a string
sand an integerk.Reverse the first
kcharacters ofsand return the resulting string.
1 | class Solution { |
You are given a string
sand an integerk.Reverse the first
kcharacters ofsand return the resulting string.
1 | class Solution { |