Method: sorting and adding double pointers. This question is similar to "15. Sum of three numbers", and the solution is also similar. Code
#include <iostream> #include <vector> #