How did Hugo complete the book?
Upon receiving a less than three months deadline, Hugo locked all his clothes in a chamber. The lack of good attire forced him to stay indoors and dedicate all his time to writing. Nevertheless, he successfully wrapped up the final draft, and the book was published on 14th January 1831, two weeks early.