mirror of
https://github.com/arkorty/LeetCode.git
synced 2026-03-18 00:57:17 +00:00
Refactor almost everything
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <unordered_map>
|
||||
|
||||
class Solution {
|
||||
public:
|
||||
public:
|
||||
bool isAnagram(std::string s, std::string t) {
|
||||
if (s.size() == t.size()) {
|
||||
std::unordered_map<char, int> hmap[2];
|
||||
|
||||
Reference in New Issue
Block a user