Arista Networks Interview Question

Implement some basic string operations. Implement Sieve of Eratosthenes. Find distance between two nodes of a Binary Tree