Show Cuckoo hashing insertion, prove expected O(1) amortized

Analyze the show cuckoo hashing insertion, prove expected o(1) amortized.

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

Show Cuckoo hashing insertion, prove expected O(1) amortized

Analyze the show cuckoo hashing insertion, prove expected o(1) amortized.