text: class Solution {
  public:
      vector<int> twoSum(vector<int>& nums, int target) {
          const int size = nums.size();
          for(int i = 0; i < size - 1; ++i){
              for(int j = i + 1; j < size; ++j){
                  if(nums[i] + nums[j] == target)
                      return vector<int>({i, j});
              }
          }
      }
  };