HSBC interview question

ml they wanted python DSA bubble sort pattern printing etc .