Algorithms are the basis of programming a machine. Are you good at solving a certain problem using some certain methods ?
Let's solve some good problems using Algorithms together.
In this episode, we are going to rotate your image in O(1) space complexity. Don't believe me ? Hear me out 🍷
There can be two methods considering hashmap and sorting to solve the "Majority Element Problem". But, we love the most optimized way, i.e. the Moore's Voting Algorithm.