Rotate Matrix/Image by 90 Degrees | Brute - Optimal

Publié le: 29 mars 2023
sur la chaîne: take U forward
226,457
7.8k

Problem Link: https://bit.ly/3Qk14gY

Notes/C++/Java/Python codes: https://takeuforward.org/data-structu...

We have solved the problem, and we have gone from brute force and ended with the most optimal solution. Every approach's code has been written in the video itself. Also, we have covered the algorithm with intuition.

Full Course: https://bit.ly/tufA2ZYt

You can follow me across social media, all my handles are below:

Linkedin/Instagram/Telegram: https://linktr.ee/takeUforward

00:49 Problem statement
2:06 Observation
2:24 Brute force approach
6:25 Brute force code
7:49 Optimized approach
14:00 pseudo code for transposition
15:01 Optimized approach code


Sur cette page du site, vous pouvez voir la vidéo en ligne Rotate Matrix/Image by 90 Degrees | Brute - Optimal durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur take U forward 29 mars 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 226,457 fois et il a aimé 7.8 mille téléspectateurs. Bon visionnage!