We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Matrix Rotation
Matrix Rotation
Sort by
recency
|
7 Discussions
|
Please Login in order to post a comment
My F# solution:
It's easier to shift around the indices rather than the actual elements. My approach was to not alter the original matrix, but for each index figure out where it would end up, and print appropriately.
Thank you so much for the making this site because here we can get more things for the work https://rememberpasswordsinmicrosoftedge.net and now we can get more support by this site.
I have solved this in Java, however it seems I cannot give the solution in Java ?
My solution which causes mysterious problems
This causes runtime error on #8 #9 on Hackerrank's side, but not on mine. The memory span is at a steady 300M. Could someone provide some ideas how this is being caused?