can someone help me out with this leetcode 1944 problem

Revision en1, by sandeepgogarla61, 2022-05-25 09:44:26

problem link : https://leetcode.com/problems/number-of-visible-people-in-a-queue/ approach for the above mentioned question when duplicates are allowed

eg test case : 11 6 7 5 11 11 o/p : 3 2 2 1 1 0

Tags stack, #leetcode, help me, need help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English sandeepgogarla61 2022-05-25 09:44:26 261 Initial revision (published)