Freshworks interview question

Question about strings with wildcard (*/?)