#23 - Suffix Search
You are given a list of words. Your task is to implement a suffix search function that efficiently finds all person names in the list that end with a given suffix.
Example 1
Input
Output
Example 2
Input
Output
Last updated