Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Exercise {
class LargestSeriesProduct {
static int largestProduct(String digits, final int span) {
if (span < 0) throw new IllegalArgumentException("span must not be negative")
if (span > digits.length()) throw new IllegalArgumentException("span must be smaller than string length")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class Exercise {
class LargestSeriesProduct {
static largestProduct(digits, span) {
throw new UnsupportedOperationException('Method implementation is missing')
}
}
}
Loading