what is a complexity of linear search,binery search?
Answer Posted / ankita dey
Linear Search-O(n)
Binary Search-O(log n)
Is This Answer Correct ? | 48 Yes | 5 No |
Post New Answer View All Answers
What is the easiest sorting method to use in data structures?
Construct a doubly linked list using a single pointer in each node?
Name two algorithms two find minimum spanning tree?
Difference between calloc and malloc in data structures?
Can arraylist be empty?
Given M x N matrix with sorted elements row wise and column wise, find elements?
What is a list of lists?
How do stacks work?
Does hashset guarantee order?
What is sorting an array?
Define a binary search tree?
How many parts are there in a declaration statement using data structures?
Is pointer a variable?
For addition and deletion. Which one is most preferred: array list or linked list?
What exactly is data?