Cerence AI interview question

To reduce a time complexity of an algorithm