Using a special delimiter character fails when strings contain that character. The length-prefix codec sidesteps this: prepend each string with its length and a fixed separator, so the decoder knows ...
#encode함수: 매개변수 strs 리스트를 join 메소드와 특정 매개변수를 사용해 하나의 string인 answer로 전환 #decode함수: 매개변수 string s를 split 메소드를 사용해 특정 매개변수를 기점으로 나누어 list로 ...