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 largest number that a set of 10 binary light switches describe?

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


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.


How many times of Algorithm do you have in computer science?

In computer science, algorithms can be categorized in various ways, but there are primarily two main types: deterministic and non-deterministic algorithms. Additionally, algorithms can be classified based on their function, such as sorting algorithms (e.g., quicksort, mergesort), search algorithms (e.g., binary search), and optimization algorithms (e.g., genetic algorithms). Overall, there are countless specific algorithms designed to solve different types of problems across various domains.


Binary divider with logic diagram?

A binary divider is a digital circuit that divides one binary number (the dividend) by another (the divisor) and produces a quotient and a remainder. The logic diagram typically includes components like flip-flops, AND gates, OR gates, and multiplexers to manage the division process, usually through sequential logic operations. The divider operates by repeatedly subtracting the divisor from the dividend and shifting bits as necessary, ultimately yielding the quotient and remainder. Commonly used in arithmetic logic units (ALUs) and processors, binary dividers can be implemented using various algorithms such as restoring or non-restoring division.


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.