Wednesday, May 11, 2016

Algorithm: Rotate array by one element

May 11, 2016

Quickly find out the blogs related to "Rotate array by one element", look for optimal solution. Julia, it is not so important to show optimal solution, but  at least, never waste the opportunity to show that you are a hacker, willing to solve any problem.

Anything about rotate two dimensional array:

1.
http://stackoverflow.com/questions/42519/how-do-you-rotate-a-two-dimensional-array

2.
https://blogs.msdn.microsoft.com/oldnewthing/20080902-00/?p=21003

3.
http://geekswithblogs.net/cwilliams/archive/2008/06/16/122906.aspx

4. Matrix transpose
https://en.wikipedia.org/wiki/Transpose

Question and answer:
1. How many hours do you spend to work on this problem?
Reading 2 hours +. 


No comments:

Post a Comment