4 ms·
Clearly your Reverse() is unnecessary and inefficient when you can just do return blah[blah.size()-1] + blah[blah.size()-2]; I totally would not hire you.
by minimaxir 12y ago
Clearly your Reverse() is unnecessary and inefficient when you can just do
return blah[blah.size()-1] + blah[blah.size()-2];
I totally would not hire you. :P