Sainnhe Park
83c66fc158
All checks were successful
continuous-integration/drone/push Build is passing
21 lines
327 B
C++
21 lines
327 B
C++
#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
|