This commit is contained in:
20
include/s0006_zigzag_conversion.hpp
Normal file
20
include/s0006_zigzag_conversion.hpp
Normal 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
|
Reference in New Issue
Block a user