Connected Interview Question

oops concepts ( design system for pizza etc.)