LLD Logo
LVL1
Bridge Pattern

Step 1 of 4 · Define the TV contract

1

Your task

Define the TV contract

Give every television the operations a remote needs.

Keep the TV API independent of any remote model.
Expose power and volume operations.

tv.py

Your draft · saved locally

1

Structural feedback only—your code stays in this browser and is not executed.