An algorithm processes an input array of size 'n'. It iterates through the array once, performing constant-time operations for each element. Inside the loop, it calls a helper function that has a time complexity of Θ(log n). What is the overall time complexity of this algorithm?