Sdet Programming Interview Question