Hi all,
New week, new challenge. Some pretty awesome submissions from last week.
This week another medium difficulty problem courtesy of the question picker, although I must admit I clicked it a few times because some are just weak:
48. Rotate Image - https://leetcode.com/problems/rotate-image/description/
How it works/Rules:
Good luck!
New week, new challenge. Some pretty awesome submissions from last week.
This week another medium difficulty problem courtesy of the question picker, although I must admit I clicked it a few times because some are just weak:
48. Rotate Image - https://leetcode.com/problems/rotate-image/description/
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
How it works/Rules:
- We use the random question picker, and all attempt it, one question a week.
- No cheating/looking at the editorial solution until your soln is accepted on leetcode, and you're convinced you can't get it any quicker.
- Language is up to you, this may help people appreciate other languages as well
- Only post your time taken, language, and percentage of submissions beaten at first. Use spoiler tags for your code.
Good luck!