#ifndef UTILS_H #define UTILS_H #include #include #include #include namespace utils { void File2WordMap(const std::string& filename, std::map>>& wordMap); bool CheckViable(int row, int col, std::map>>& wordMap); std::vector> getCount(std::map>>& wordMap); }; #endif