Toptal interview question

1. string functions 2. data hash function 3. numerical comparision function