Meta Interview Question

2 leetcode easy and 2 medium