Where is the mistake??
https://ide.codingblocks.com/s/297197 Where is the mistake??
on line 27 of ur code: u should write: hash_str[str[i]] <= hash_pattern[str[i]]