Design hash table with constant worst-case operations (perfect hashing)

Analyze the design hash table with constant worst-case operations (perfect hashing).

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Design hash table with constant worst-case operations (perfect hashing)

Analyze the design hash table with constant worst-case operations (perfect hashing).