Deloitte interview question

In online assessment it was complex algorithms to write solutions