Loylogic interview question

HashMap, Design pattern, Javascript, SQL, OOPS