Comment Comment by mshang0 I had no idea that it was a common problem assigned to students, but it makes sense. Somebody on reddit also mentioned that Knuth also covers it. parent mshang0 10 years ago