answersLogoWhite

0

both seach has different algorithem but the complexity will be same...

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is searching. With the help of illustrative examples describe sequential search and binary search Develop the algorithms for the same.?

Searching of algorithm is finding an item with specified properties among a collection of items. The items may be stored individually as records in a database; or may be elements of a search space defined by a mathematical formula or procedure, such as the roots of an equation with integer variables; or a combination of the two, such as the Hamiltonian circuits of a graph A Binary Search is a technique for quickly locating an item in a sequential list. A Sequential Search is a procedure for searching a table that consists of starting at some table position (usually the beginning) and comparing the file-record key in hand with each table-record key, one at a time, until either a match is found or all sequential positions have been searched. BY PANKAJ BHATT (warrior2pnk)


What is sequential logic?

Any circuit that converts binary information into machine readiable form is called sequential circuit


Write algorithms and draw a corresponding flow chart to convert a decimal number to binary equiavalent?

Write algorithms and draw a corresponding flow chart to convert a decimal number to binary equivalent?


What are the three types of file access control?

Sequential access,Random, Binary


A binary search of an orderd set of elements in an array or a sequential search of the elements.Which one is faster?

A binary search is much faster.


What are Reflected codes?

a modified binary code in which sequential binary numbers are represented by expressions that differ only in one bit, to minimize errors.


Sequential circuits and its definition?

a sequential circuit is an interconnection of combinational circuit and storage elements.The storage elements is called flip-flop,store binary information that indicates the sequentiol circuit at that time.


What is the significance of a binary tree leaf in data structures and algorithms?

A binary tree leaf is significant in data structures and algorithms because it represents the end point of a branch in the tree structure. It is a node that does not have any children, making it a key element for traversal and searching algorithms. Leaves help determine the depth of the tree and are important for balancing and optimizing the tree's performance.


What is The largest number that a set of 10 binary light switches describe?

1,024 is the highest number 10 digits in binary can describe


What are some examples of efficient algorithms used in data processing and analysis?

Some examples of efficient algorithms used in data processing and analysis include sorting algorithms like quicksort and mergesort, searching algorithms like binary search, and machine learning algorithms like k-means clustering and decision trees. These algorithms help process and analyze large amounts of data quickly and accurately.


How can one ensure the efficient balancing of a binary search tree?

To ensure efficient balancing of a binary search tree, one can use self-balancing algorithms like AVL trees or Red-Black trees. These algorithms automatically adjust the tree structure during insertions and deletions to maintain balance, which helps in achieving optimal search and insertion times.


How do binary compression algorithms work to reduce the size of data files?

Binary compression algorithms work by encoding data using fewer bits than the original representation, thereby reducing the overall size of the file. This is achieved by identifying patterns or redundancies in the data and replacing them with more efficient representations. The compressed file can then be decompressed to its original form when needed.