|N version||1.2 and later|
Method 1 (Speed)
Run right, get all three switches (2 door, 1 exit switch), then make your way back.
Method 2 (Gold)
Getting gold is considerably more difficult, and an all gold demonstration is nearly impossible (if it were plausible, more time would be consumed then gained by the gold). The key is to triple jump past the homing turret, then walljumping into the "sky" and knocking into the gold "stars". Use the hilly slopes at the bottom to stop your fall. After you are satisfied with your gold, run to the exit.