A tricky DP problem with many edge cases around leading zeros and two-digit numbers. Tests careful handling of conditions.
Enable JavaScript for the full StreamPrep guide.