2022-11-30 08:24:38 +00:00
|
|
|
#ifndef S0151_REVERSE_WORDS_IN_A_STRING_HPP
|
|
|
|
#define S0151_REVERSE_WORDS_IN_A_STRING_HPP
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
class Solution {
|
|
|
|
public:
|
2022-11-30 09:24:58 +00:00
|
|
|
void reverseSubStr(string &s, int begin, int end);
|
2022-11-30 08:24:38 +00:00
|
|
|
string reverseWords(string s);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|