Wildcard String Matching Gfg Solution