#include using namespace std; class Solution { public: int maxProfit(vector &prices); bool test(vector &prices, int answer); };