https://ganeshpr227.medium.com/majority-element-of-the-array-sorting-30-days-preparation-plan-day-2-problem-1-coding-56a6a9e82353