MulticoreWare interview question

Coding based questions and logics