Input: careermonk Output: camonk Input: mississippi Output: m I want to improve this code. #include <iostream> #include <string> #define max 1000 class Stack { int top; public: char stk[max]; Stack() { top = -1; } bool isStackEmpty(); void push(char); char pop(); std::string modifyString(std::string); private: void removeAdjacentDuplicate(std::string); }; bool Stack::isStackEmpty() { if (top == -1) returnRead more