Solution in JavaScript


  • 0
    U


    var reverse = function(x) {
    return (x + '').split('').reverse().join('') * 1;
    };


  • 0
    X

    FCVGHSDGCHDSHJFSDVGSHJDGFCDHCGSDJHGCVSCDJFHRUGFHUHFFHUYRF
    QASdasFZDSAFRSDZG', sdhwgfshdcgwhdghsxgsdhygsdhcfdhcfsgfx.gfcfghasfcaagsdfwadxgjsad
    dywgdhsvusadufhsud/hsgdyssgusdjdhfsyurhfwufg-hjfvgwyghfwjgdcfvhdgchkwfh\dfjwdgnfvhdhdvg\vbsvhsbdvavdnbc.cdbgchdegfhhgfdghvhdvgdhgvf/
    vgdhcgasjcsjhgvhjfgghfbndc,fhgfygfygcyuefrkcjgfhcjq.sdgfqyutfdyefdg6errtdfdqefgdhqs/dfgcaghdsfqywefjqegdfqf\ghdsgdhsfdfhadchywadjwdgwajvgdwcvfcvgdgcvghzsadgdv dfsgdxcastrfcqj.dhjdgqjyhfdrcwhycxgwdfcewydcgfeywcgkvwed2365qgywehcvsav v gewyfghsggyhsdg td.dygbvyuvc ywdtvdddddddddddddddddd
    dhjcvyv cefgvc gvkqibcgbytdghqdythwcf6erty63t5e436dehgdfvcewytjdcj


Log in to reply
 

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