Deutsche Telekom Interview Question

Can you write your own hashfunction.