Bentley Systems Interview Question

Find the longest string in an array