SE_C0909 algorithms solutions