add lc wildcard matching (cannot pass large test case)