Amdocs interview question

sql and unix was difficult.