Electronic Arts interview question

Leetcode questions: Maximum subarray. Word break. Reverse words in string. Easy if you have gone through many interview preparations.