You are viewing a single comment's thread. Return to all comments →
Did something similar but rather than flatten used deque's for each circle. However still failing #4,5 & 6 :( --> Not a question of int vs. long
Longest time 0.04 (C++ on test #9).
https://www.hackerrank.com/challenges/matrix-rotation-algo/submissions/code/25883205
Edit: was meant as a reply to ledmirage above but appeared down here instead.
Seems like cookies are disabled on this browser, please enable them to open this website
Matrix Layer Rotation
You are viewing a single comment's thread. Return to all comments →
Did something similar but rather than flatten used deque's for each circle. However still failing #4,5 & 6 :( --> Not a question of int vs. long
Longest time 0.04 (C++ on test #9).
https://www.hackerrank.com/challenges/matrix-rotation-algo/submissions/code/25883205
Edit: was meant as a reply to ledmirage above but appeared down here instead.