in reply to Help: practical and moral support

Find out what's on the test. Practice solving those problems. Browse Perlmonks for people asking about algorithmic sorts of things and do the same. Compare what you came up with to the solutions other people post. Cry. Rinse and repeat.