02_Cpp Turn-in

I think your heap error is because this should be "slider < n" instead of "slider <= n" ... I think you are accessing your array out of bounds on the last time through the loop.