This solution is generated by ChatGPT, correctness is not guaranteed.

AI solution for Interview Question on BFE.dev
69. What is Proxy Pattern?

The Proxy Pattern is a structural design pattern that involves a proxy object acting as an interface between a client and a real object, hiding the details of the real object from the client. The proxy object can perform additional functionality before or after the request is made to the real object, such as caching data or checking access rights. This pattern is useful in scenarios where the real object is expensive to create or access, and the proxy can help optimize the performance by controlling the access to the real object.