Additive Number

An additive number is a string of digits where the sum of the first two digits equals the third, and this pattern continues recursively. Given a string num, return true if it is an additive number, otherwise false.

Examples
Input: "112358"
Output: true
Hints

Additive Number

An additive number is a string of digits where the sum of the first two digits equals the third, and this pattern continues recursively. Given a string `num`, return `true` if it is an additive number, otherwise `false`.