N26 interview question

time and memory complexity on live coding interview