Explain the Big O time and space complexity of an algorithm you recently wrote in your professional work.