title: Return the length of the strings inside the array
body: <p>I need a function that will accept a list of string and a closure that returns the number of characters of each element from the given string list</p>
  
  <p>Example string: ["aaa","baba","cacaca"]</p>
  
  <p>return: [3,4,6]</p>