Barclays interview question

basic coding and SDET questions