Siemens Interview Question

Some string and array programming questions.