Track TypeScript
TypeScript track

Largest Series Product

An exercise from the TypeScript 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
regular expressions
strings
math
View all solutions