-
[Leetcode] 557. Reverse Words in a String III {Day4 Two Pointers} (In Python)[Python] 파이썬/Leetcode_14Days plan to crack Algo 2021. 11. 28. 21:06
코드들은 https://github.com/Eastar-DS/Python/tree/main/14%20Days%20Study%20Plan%20to%20CrackAlgo에도 있습니다
첫풀이.
처음 사진의 Input, Output으로 생각해보면
Output을 거꾸로해보면 "contest LeetCode take Let's"가 된다. 거꾸로 바꿔주는 작업을 잘 조정해서 두번만하면 된다는것을 알 수 있음.
'[Python] 파이썬 > Leetcode_14Days plan to crack Algo' 카테고리의 다른 글