.
x + (x+1) + (x+2) + (x+3) = 334
4x + 6 = 334
4x = 334 - 6 = 328
x            = 328/4 = 82.
The integers are 82, 83, 84, 85.
ANSWER.  85.
CHECK.  82 + 83 + 84 + 85 = 334.    ! Correct !
Solved.
-----------------
More elegant solution is THIS :
Divide 334 by 4.  You will get  
 = 83.5,  and it is the average of the four consecutive integers.
Hence, the largest of the 4 consecutive integers is 85,
which gives you quick mental solution.