0

How to rotate left ..a matrix easily.

cpp is better

24th Nov 2017, 7:44 PM
Abhi Vashisth
Abhi Vashisth - avatar
6 Answers
0
I am confused as to this question. Your topic title says how to rotate a matrix left, but your description says c++ is better. Please clarify to avoid down votes or reports.
26th Nov 2017, 12:08 AM
Ryan Wakefield
Ryan Wakefield - avatar
+ 1
okay!
26th Nov 2017, 2:32 PM
Abhi Vashisth
Abhi Vashisth - avatar
0
cpp is better means....if u explain me in cpp...that'll b better
26th Nov 2017, 12:16 PM
Abhi Vashisth
Abhi Vashisth - avatar
0
Alright. Then I would remove the java tag since you are requesting the answer in c++. As well, this type of question could have been answered faster by doing a Google search than waiting. See below: https://www.google.com/search?q=c%2B%2B+rotate+matrix&oq=c%2B%2B+rotate+&aqs=chrome.2.69i57j0l3.6910j0j7&client=ms-android-verizon&sourceid=chrome-mobile&ie=UTF-8 Please make sure you research before posting questions. And if you do, then tell us what research you have done.
26th Nov 2017, 12:47 PM
Ryan Wakefield
Ryan Wakefield - avatar
0
lol..i need a easy way....or else geeksforgeeks is there
26th Nov 2017, 12:49 PM
Abhi Vashisth
Abhi Vashisth - avatar
0
Nothing is ever easy in coding. As well, matrices can be very complex. So rotating them typically is depending on the instantiation of them and more.
26th Nov 2017, 1:04 PM
Ryan Wakefield
Ryan Wakefield - avatar