HackerRank icon indicating copy to clipboard operation
HackerRank copied to clipboard

You don't need to reverse the array

Open Suryasis opened this issue 8 years ago • 1 comments

Suryasis avatar Jul 27 '17 03:07 Suryasis

nice one @Suryasis - way easier and more concise to just iterate in reverse. mind fixing the indent/formatting in L25-L29 and I'll merge?

alexanderscott avatar Sep 07 '17 09:09 alexanderscott