Infosys interview question

System design, patterns, SOLID principle, Garbage collection, Database questions