IBM interview question

Test for coding and QA as well