Cogna interview question

OOPs DSA Streams Treadding Exceptions