The first European novel is generally considered to be Don Quijote. It is a Spanish novel written by Miguel de Cervantes, considered by many to be the creator of the modern novel way back in the 17th century.
Here is my answer, I typed it in a document because I didn't want to have a long answer here, picture below. I hope I helped! :-)
Sorry just commenting for algorithm