can the pattern start from * itself… i feel like the editorial logic will give runtime error for string a and pattern *
Regex matching dynamic programming
since its states that * means 0 or more occurance of preceding character…is it possible to have a pattern string of just “*” itself