Track Lua
Lua track

Largest Series Product

An exercise from the Lua 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 loops
exception handling
math
View all solutions