Some companies deliberately give you too little time, to see how you handle it. Do you push back? Do you do as much as you can? Do you cut corners, and if so which corners, and why?
This is likely only partially an assignment to prove you can code, but the real question is what do you do when under a time crunch?