answersLogoWhite

0


Best Answer

Traversal simply means moving from one node to the next. Generally one searches by traversing the list, comparing each node's data with a given datum, either to return a pointer to a single matching node, or to return a list of matching nodes (copied from the list being searched), or simply to collect data about the matching nodes (such as a count of all the matching nodes).

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

AnswerBot

1w ago

Traversal is the process of visiting and processing each node of a data structure in a systematic way, often in a specific order, without the aim of finding a particular node. Search, on the other hand, is the process of looking for a specific node or element within a data structure based on certain criteria, such as value or key. Traversal is more concerned with exploring the structure as a whole, while search focuses on finding a specific element within the structure.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between traversal and search?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Educational Theory

How would you regroup 4 tens to find the difference between 341 and 228?

To regroup 4 tens in 341, change it to 3 hundreds and 14 tens. Then, subtract 2 hundreds and 2 tens from 3 hundreds and 14 tens to get the difference. The difference between 341 and 228 is 113.


What is difference reduction?

Difference reduction is a problem-solving method that involves identifying and focusing on differences between the current situation and the desired goal in order to find solutions. By breaking down complex problems into smaller differences, it helps to tackle the root causes more effectively and develop strategies for achieving the desired outcome.


What is the difference between subtraction and addition?

Subtraction involves taking away a number from another number, while addition involves combining two or more numbers to find a total sum. Subtraction results in a smaller number, while addition results in a larger number.


What is the difference between a descriptive and an explanatory statement?

A descriptive statement simply describes a situation or phenomenon, while an explanatory statement seeks to provide reasons or causes for why something is the way it is. Descriptive statements focus on providing details and observations, while explanatory statements aim to offer insight and understanding.


What is the difference between teaching approach and techniques?

A teaching approach is the overall philosophy or method used to guide instruction, such as constructivism or behaviorism. Teaching techniques are the specific strategies or methods employed within a teaching approach to help students learn, such as group discussions or problem-based learning.

Related questions

Which of the following traversal is used for printing the keys of binary search tree in ascending order?

In order traversal is used.


Is sorting a binary search tree simple?

A binary search tree is already ordered. An in order traversal will give you a sorted list of nodes.


How do you print all data in a Binary Search Tree?

By using Depth First Search or Breadth First search Tree traversal algorithm we can print data in Binary search tree.


What is the difference between a boolean search and a keyword search?

A keyword search searches for exact word when a boolean search looks for synonym's. The difference between a keyword search and a boolean search is the focus of the search. A keyword search is a search for an exact word. A boolean search is a search for a synonym.


What graph traversal algorithm uses a queue to keep track of vertices which need to be processed?

Breadth-first search


Difference between research method and search model?

A research method refers to the approach or technique used to conduct a study, encompassing procedures for data collection, analysis, and interpretation. On the other hand, a search model pertains to a theoretical framework that outlines the process by which information is retrieved and selected in a search process. While research methods deal with the overall research design, search models specifically focus on information retrieval processes.


What is the difference between WikiAnswers and Google Search?

Google search - is a search engine. WikiAnswers is a forum.


What is the difference between a search service and a search engine?

really...........nothing. there the same..


What is the difference between ethical value and value?

search


Why is there no threading for post order traversal of a binary search tree?

You don't need it. Think about it, you can just use a stack (or a recursive function.)


What is the difference between Vnet and VL net?

search underway!


What s the deference between bing search and internet explorer?

The difference between Bing Search and Internet Explorer is that Bing is a search engine and Explorer is a browser.