You are viewing a single comment's thread. Return to all comments →
the solution return a.reverse().join(' ');
I should have eliminated the join in the next line at main function ws.write(res.join(' ') + '\n');
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays - DS
You are viewing a single comment's thread. Return to all comments →
the solution return a.reverse().join(' ');
I should have eliminated the join in the next line at main function ws.write(res.join(' ') + '\n');