둘 이상의 길이가 같은 철자 일련 번호가 둘 이상인 경우 (예 :
[[ "three" , "one" , "four" ],
[ "one" , "five" , "nine" ],
[ "two" , "six" , "five" ],
[ "three" , "five" , "eight" ]]
단어가 나타내는 숫자로 목록을 정렬하십시오.
[[ "one" , "five" , "nine" ],
[ "two" , "six" , "five" ],
[ "three" , "one" , "four" ],
[ "three" , "five" , "eight" ]]
숫자를 소문자 나 대문자로 표기해야하지만 대소 문자를 혼합하지 않아야합니다.
테스트 사례
[["three","one","four"],["one","five","nine"],["two","six","five"],["three","five","eight"]]
준다[["one","five","nine"],["two","six","five"],["three","one","four"],["three","five","eight"]]
[["two","seven"],["one","eight"],["two","eight"],["one","eight"],["two","eight"],["four","five"]]
준다[["one","eight"],["one","eight"],["two","seven"],["two","eight"],["two","eight"],["four","five"]]
[["one","four","one","four","two"],["one","three","five","six","two"],["three","seven","three","zero","nine"]]
준다[["one","three","five","six","two"],["one","four","one","four","two"],["three","seven","three","zero","nine"]]
[["zero","six","one"],["eight","zero","three"],["three","nine","eight"],["eight","seven","four"],["nine","eight","nine"],["four","eight","four"]]
준다[["zero","six","one"],["three","nine","eight"],["four","eight","four"],["eight","zero","three"],["eight","seven","four"],["nine","eight","nine"]]
[314,159,265,358]
→ [159,265,314,358]
.
You may require the numbers to be spelled in lower or upper, but not mixed, case.
["three","one","four"] === 314
않습니까?