BMC Software interview question

Some programs and algorithms