Pergunta de entrevista da empresa ProminentPixel

Given a 2D array, find the sum of the boundary elements, implement binary search with recursion, and also count characters in a string.