Track JavaScript (Legacy)
JavaScript (Legacy) track

Largest Series Product

An exercise from the JavaScript (Legacy) track
medium

About this exercise

Given a string of digits, calculate the largest product for a contiguous substring of digits of length n.

control flow conditionals
control flow loops
exception handling
integers
math
regular expressions
strings
View all solutions