1) The link you provided is invalid.
2) How about you give us an attempt at your pseudocode, then we'll help you to optimize it - if we do it for you you won't learn as much.
3) Saying "please" is usually the polite thing to do when requesting for help.