Baton Systems interview question

derive a Pascal Triangle Real time bill generating problem was given