[javascript] beats 100.00 % of csharp submissions


  • 0
    D
    var reverseWords = function(s) {
        return s.split(' ').map(item => {return item.split('').reverse().join('')}).join(' ');
    };
    

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.