1. Given an array of integers, find the duplicate element.
2. Design a URL shortening service.
3. Write a function to reverse the string "Ecommerce".
4. How does back propagation work over time?
5. Write a function to calculate the factorial of a number.