The worst-case time complexity of the linear search algorithm is
Asked in APSC 67 14/ Junior Manager (Electrical / Mechanical / Civil/ IT) , in Assam Electricity Grid Corporation Limited (AEGCL) (Advt. No. 14/, dtd 28-04-) ELECTRICAL ENGINEERING MECHANICAL E 2023
Show answer
Answer: C. O(n)
More APSC Prelims previous year questions questions
- What happens if a POP operation is performed on an empty stack?
- Find the data structure which represents a collection of elements with no particular order.
- Which data structure type is used to represent a hierarchical structure with a set of connected nodes?
- Identify the data structure which provides FIFO access to elements.
- Which data structure represents a collection of interconnected nodes with no specific starting point?
- A microprocessor consists of
- The maximum number of different addresses that can be addressed by the address bus of 8085 is
- The instruction JNC 16-bit refers to jump to a 16-bit address if