

MCQOPTIONS
Saved Bookmarks
1. |
What will be the time complexity of the following code which raises an integer x to the power y? |
A. | O(n) |
B. | O(log n) |
C. | O(n log n) |
D. | O(n2)View Answer |
Answer» B. O(log n) | |