This commit is contained in:
14
include/s0122_best_time_to_buy_and_sell_stock_ii.hpp
Normal file
14
include/s0122_best_time_to_buy_and_sell_stock_ii.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef S0122_BEST_TIME_TO_BUY_AND_SELL_STOCK_II_HPP
|
||||
#define S0122_BEST_TIME_TO_BUY_AND_SELL_STOCK_II_HPP
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class S0122 {
|
||||
public:
|
||||
int maxProfit(vector<int>& prices);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user