Define prefix and suffix of a string with example in discrete mathematics
Answers
Answered by
1
Answer:
In discrete mathematics string may be defined as the sequences of symbols or characters or alphabets arranged in a proper order or manner.
Prefix is defined as the leading part which means the front end.
Suffix means the trailing part which means the back end.
For example we have a string S = APPLE
Prefix = "APP"
Suffix = " LE"
Similar questions