Hackonacci Matrix Rotations

  • + 1 comment

    My program works but experts as usual came with refinements. Following two points can speed up the program by 40%: 1) Matrix need not be created explicitly. 2) Two kinds of rotations give identical results. After doing these improvements, Python3 program runs within 4 sec for the worst case on i7.