1. How does NodeJS work internally?
2. Given an array of integers, sort the array in ascending order using the Selection Sort algorithm.
3. Describe the LLD for designing a cart discount system where you need to apply discounts to products in a cart.
4. Design a shopping cart system that supports multiple products and discount coupons.
5. Describe your approach to designing a restaurant system.