@AyushiSharmaDSA you are really good at approaching the logic. When i do the same questions atleast 3-4 time i need to modify my approach before right approach after that while coding i need to make some small changes than i get the right solution. As in this video you used three variables l,m,h. But i would have used Quick short instead of yours. However i found your approach more optimize and efficient. What if there were more than 3 color e.g 4 or 5 color, than definitely you would have use some another approach. MY QUESTIONS IS THAT HOW DO YOU APPROACH THE SOLUTION IN ONE GO?😊