2. What are the time complexities of the following functions, namely p1( ) ~ p4( )?
No explanation is required. (20%)