s0006
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-02 20:19:54 +08:00
parent a12d393198
commit 83c66fc158
3 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#ifndef S0006_ZIGZAG_CONVERSION
#define S0006_ZIGZAG_CONVERSION
#include <string>
using namespace std;
class Solution {
public:
/**
* @brief Zigzag Conversion
*
* @param s the string to be converted
* @param numRows rows
* @return converted string
*/
string convert(string s, int numRows);
};
#endif