MCPcopy 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

4const int CHAR = 256;
5
6bool 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
16bool anagramSeach(string txt, string pat)
17{

Callers 1

anagramSeachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected