Domanda di colloquio di IBM

Standard Coding Algorithm Question followed by SQL