MCQOPTIONS
Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Testing Subject
General Aptitude
Logical and Verbal Reasoning
English Skills Ability
Technical Programming
Current Affairs
General Knowledge
Finance & Accounting
GATE (Mechanical Engineering)
Chemical Engineering
→
Data Structures and Algorithms
→
Evaluation Infix Expression Not Parenthesized
→
What is the space complexity of the given code?
1.
What is the space complexity of the given code?
A.
O(1)
B.
O(n)
C.
O(log n)
D.
O(n log n)View Answer
Answer» B. O(n)
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the time complexity of the following code?
What is the space complexity of the given code?
What will be the time complexity of the following code which raises an integer x to the power y?
What will be the output for following code?
What is the least time in which we can raise a number x to power y?
Recursive program to raise an integer x to power y uses which of the following algorithm?
O(n)
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies