FlatexDEGIRO SE Interview Question

difference between singleton scope and design pattern