As You Like is written by William Shakespeare.
It is a five act comedy written in 1599 and first published in 1623. He imparts realistic touch to love and critiques the Petrarchan idea of love. After so many obstacles all conflicts get resolved at the end.