FlairsTech interview question

Middleware vs filters comparison and usage