Common stack problems

Revision en1, by theviralv, 2020-03-04 17:01:13

I tried to solve problems like : 1. SPOJ POSTERIN 2. SPOJ HISTOGRA 3. Codeforces C2.Skyscrapers But i could not even understand the logic behind the stack based O(n) solution of above problems. Can anybody help.

Tags stack, area, histogram

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English theviralv 2020-03-04 17:01:13 373 Initial revision (published)