दो या दो से अधिक समान लंबाई के क्रमबद्ध-आउट सीरियल नंबर की सूची को देखते हुए, जैसे
[[ "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
?