Texas Instruments Interview Question

Substring question Length of an array