A Unified Framework for Problems on Guessing, Source Coding and Task Partitioning
Testing for forbidden order patterns in an array