New course! Every coder should learn Generative AI!
Try a free lesson1 Answer
0
You need to know first how the user will tell you the comparing result.
Only match/not match? Or match [n] characters? Or any other formats.
It will decide how you write the algorithm.