Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ isSame
Function
isSame
CPP/String/angramSearch.cpp:6–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
const int CHAR = 256;
5
6
bool isSame(int a[], int b[])
7
{
8
for (int i = 0; i < CHAR; i++)
9
{
10
if (a[i] != b[i])
11
return false;
12
}
13
return true;
14
}
15
16
bool anagramSeach(string txt, string pat)
17
{
Callers
1
anagramSeach
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected