Top "Traversal" questions

Traversal is the action of iterating over all the elements in a sequence of elements.

jQuery: get immediate next element after the current element

I need set focus to the element that is immediate next(and in other case immediate prev ) to the current …

jquery css-selectors traversal
Iterating over element attributes with jQuery

I know individual attributes can be retrieved with the attr() method, but I'm trying to iterate over all of the …

jquery xml dom traversal
jQuery closest(); not working

I am trying to do make some text show when a text input is on focus, but the closest(); method …

jquery traversal closest
Iterative DFS vs Recursive DFS and different elements order

I have written a recursive DFS algorithm to traverse a graph: void Graph<E, N>::DFS(Node n) { …

c++ algorithm graph depth-first-search traversal
How can I traverse/iterate an STL map?

I want to traverse an STL map. I don't want to use its key. I don't care about the ordering, …

c++ dictionary stl traversal stdmap
jQuery get parent sibling for this element only

I cant figure out how to write this. See my mark up structure, which is repeated multiple times on a …

javascript jquery traversal
Find the element before and after a specific element

I have a list with links I use with tabs. It looks like this: <ul> <li>&…

jquery traversal
Prolog, find minimum in a list

in short: How to find min value in a list? (thanks for the advise kaarel) long story: I have created …

list prolog minimum traversal
reconstructing a tree from its preorder and postorder lists

Consider the situation where you have two lists of nodes of which all you know is that one is a …

algorithm language-agnostic reference tree traversal
Traverse Matrix in Diagonal strips

I thought this problem had a trivial solution, couple of for loops and some fancy counters, but apparently it is …

c algorithm matrix traversal