J.P. Morgan interview question

1. Simple pattern detection and pattern printing( pyramid of stars ) 2. some basic SQL commands 3. Program to parse equations without the inbuilt eval function Questions on hirevieu are selected randomly.