翻转字符串数组

翻转字符串数组

Description

  • Example1 :

    Input: ["h","e","l","l","o"]
    Output: ["o","l","l","e","h"]
    
  • Example2 :

    Input: ["H","a","n","n","a","h"]
    Output: ["h","a","n","n","a","H"]
    

Programmer

var reverseString = function (s) {
    return s.reverse()
};
最近的文章

CentOS7.4 安装 MySQL8.0

InstallMySQL8.0onCentOS7.4MySQL安装官方文档步骤这里我是通过YumRe…

继续阅读
更早的文章

flex-basis 与 width 的区别

flex-basis与width的区别概念flex-basis指定了flex元素在主轴方向上的初始大…

继续阅读