Home / MCQ Bank / Computer
Computer Miscellaneous On Data Structures

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

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • O(n)

Related Computer Questions

Which header file is used to declare the standard exception? Which control is used to allow users to select a file from the file system in a Windows Forms Application? In Java, can a subclass override a final method from its superclass? With only MyISAM tables, how many of the following are for use? mysql, mysqladmin, mysqldump, mysqlisamchk ______ is the mechanism of sending data bits multiple times to ensure consistency.