Domanda di colloquio di SwiftKey

Pascal's triangle and a systems design question.