Comments on: Compute factorials using Java 8 streams https://speedment.com/compute-factorials-using-java-8-streams/ Build Fast Java Applications for the Fastest Business Performance Fri, 01 May 2020 05:21:37 +0000 hourly 1 https://wordpress.org/?v=5.1.1 By: Anonymous https://speedment.com/compute-factorials-using-java-8-streams/#comment-93 Fri, 31 Mar 2017 14:33:48 +0000 https://speedment.com/compute-factorials-using-java-8-streams/#comment-93 for (int i = 2; i < n; i++) {
Has to be
for (int i = 2; i <= n; i++) {

]]>
By: Per Minborg https://speedment.com/compute-factorials-using-java-8-streams/#comment-169 Sat, 04 Jul 2015 08:36:18 +0000 https://speedment.com/compute-factorials-using-java-8-streams/#comment-169 Now there is a new post (http://minborgsjavapot.blogspot.com/2015/07/an-o1-n-factorial-support-class-for.html) devising an O(1) factorial method using an array lookup scheme.

]]>