Bevi Interview Question

LC easy with questions about time and space complexity