what is a complexity of linear search,binery search?
Answer Posted / anju
linerasearch-o(n)
binarysearcho(logn)
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How do you sort in ascending order in arraylist?
What is data structure definition?
What is difference between data type and variable?
State the difference between queues and linked lists?
Define leaves?
Does treeset allow duplicates?
What are trees in data structures?
How would you use qsort() function to sort the name stored in an array of pointers to string?
What are hash tables good for?
Define degree of the node?
What is a simple graph?
What is long data type?
What are three common types of traversals?
What sort does arrays sort use?
What is an example of an array?