2022-11-30 09:24:58 +00:00
|
|
|
#ifndef OFFER_58_HPP
|
|
|
|
#define OFFER_58_HPP
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2022-11-30 10:20:36 +00:00
|
|
|
class Offer58 {
|
2022-11-30 09:24:58 +00:00
|
|
|
public:
|
|
|
|
string reverseLeftWords(string s, int n);
|
|
|
|
void reverseSubStr(string &s, int begin, int end);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|