The roles of Hamlet and Oedipus in their respective plays

Compare the roles of Hamlet and Oedipus in their respective plays. What do the characters have in common, and what sets them apart from one another? What role does destiny play in the motivations and actions (or inactions) that both characters take? Does Hamlet suffer from an oedipal complex? How has reading Sophocles’ play change your understanding of Hamlet’s possible oedipal complex?