I am having an issue where the C++ push_back() function is replacing all previous elements in a vector. Code that works is given
class Solution { public: vect