Cadence Design Systems interview question

basic algorithms, verilog, perl codes