This was discussed here a couple of months ago. I'm linking the original post in the thread. Some of the replies went off in humorous tangents on whether the two shows have much in common, but there was also, if you look through the replies, some serious discussion of the similarities and differences between the melodies.