Accenture interview question

oops sql project java dsa