Leetcode 1157. Online Majority Element In Subarray | Hello Interview