Amazon Interview Question

sql , linux , regex