AKUNA CAPITAL interview question

Implement a String object without using std::string or any of its methods.