Virtusa interview question

star pattern mysql database oop iq