Nice solution but reverse method reverses an array in place which means the array passed in function by ref will be reversed outside too.
http://lmgtfy.com/?q=SIGFPE
Loading collection data...
Nice solution but reverse method reverses an array in place which means the array passed in function by ref will be reversed outside too.
http://lmgtfy.com/?q=SIGFPE