MCPcopy Create free account
hub / github.com/Tiwarishashwat/InterviewCodes / isMatched

Method isMatched

PermutationInString.java:23–28  ·  view source on GitHub ↗
(int map1[], int map2[])

Source from the content-addressed store, hash-verified

21 return false;
22 }
23 private boolean isMatched(int map1[], int map2[]){
24 for(int i=0;i<26;i++){
25 if(map1[i]!=map2[i]) return false;
26 }
27 return true;
28 }
29}
30
31

Callers 1

checkInclusionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected