Watson gives Sherlock an array of integers. His challenge is to find an element of the array such that the sum of all elements to the left is equal to the sum of all elements to the right. Example arr =[5,6,8,11] 8 is between two subarrays that sum to 11. …