BOLD interview question

Python normal programming related, design patterns, DSA(medium)