Google Interview Question

How to handle duplicate leaves in a trie?