help me with this problem pls

Revision en1, by kobietvietcode, 2024-10-02 19:20:31

given a array of size 2e5, count how many subarrays where theres an element that appears more than half of the subarray's size

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English kobietvietcode 2024-10-02 19:20:31 155 Initial revision (published)