Q1. How do Observables differ from Promises, and how do you avoid subscription leaks?
A Promise represents a single future value and is eager: it starts when created, cannot be cancelled, and has no operators beyond then and catch. An Observable is lazy, e...