Meta Interview Question

LC medium and LC easy