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
In what order the elements of a hashset are retrieved?
What is meant by int?
Why use a tuple instead of a list?
How does hashset maintain order?
What is weight balanced tree in data structure?
Now you are given an array of a characters (both ASCII and Kanji) and, an index into the array. The index points to the start of some character. Now you need to write a function to do a backspace (i.e. delete the character before the given index).
Why is it important to sort waste?
What are the tasks performed during preorder traversal?
What is the maximum size of array?
What is priority queue in data structure?
Differentiate between list and map.
Is hashmap a collection?
What data structure does a binary tree degenerate?
Write the importance of hashing?
When will we get ArrayStoreException?