Look at search as well as sorting algorithms. Know basic data structures and associated algorithms. Practice at a whiteboard. Don't worry about getting it right the first time: just keep trying things if you get stuck. Good luck.