How far have you got and where are you stuck?
Do you understand the requirements?
Have you decided on an algorithm yet?