title: Possible Form Triangle Array Values
signature: def possibleFormTriangleArrayValues(arr: List[Int], n: Int) = {
source_py: def possible_form_triangle_array_values(arr, N):
      if (N < 3):
          return False
      arr.sort()
      for i in range((N - 2)):
          if ((arr[i] + arr[(i + 1)]) > arr[(i + 2)]):
              return True
source_cpp: bool possible_form_triangle_array_values(vector<int> arr, int N) {
    if ( N < 3 ) return false;
    sort(arr.begin(), arr.end());
    for ( int i = 0;
    i < N - 2;
    i ++ ) if ( arr [ i ] + arr [ i + 1 ] > arr [ i + 2 ] ) return true;
  }