KLA interview question

logic building programs.