1

What is the time complexity of the above code used to reverse a string?

Correct Answer: checks if a string is a palindrome

Make the most of this question

This page focuses on one Design and Analysis of Algorithms question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.