From: Dimos Raptou
Subject: Pancake Problem
Date: 
Message-ID: <69p4kf$842@shell1.interlog.com>
Hello,
	I have been working on a program ("the pancake problem") for
the past few days without much success.

I have to write a function flip which does the following

	(flip '(3 5 4 1 2) 4)  and returns (1 4 5 3)
So you feed it a List and an Integer and it flips the number of 
elements in the list you specify

The second function is pancake which does the following

	(pancake '(3 5 4 1 2))       returns (1 2 3 4 5)

It takes an unordered list as an argument and returns an
ordered list by using only the "flip" operation.

Does anyone have any ideas on how I can go about solving this?

Thanks in advance!