Top "Iteration" questions

Iterations are the successive repetitions in loops such as for, foreach or while.

Iterating a JavaScript object's properties using jQuery

Is there a jQuery way to perform iteration over an object's members, such as in: for (var member in obj) { ... } …

javascript jquery for-loop iteration
recursion versus iteration

Is it correct to say that everywhere recursion is used a for loop could be used? And if recursion is …

algorithm recursion iteration
"Continue" (to next iteration) on VBScript

A colleague and I were trying to figure out a way of doing the equivalent of a "continue" statement within …

vbscript iteration next continue
Efficient iteration with index in Scala

Since Scala does not have old Java style for loops with index, // does not work val xs = Array("first", "second", "…

scala iteration
JSTL iterate over list of objects

I am getting a list 'myList' of objects in jsp. Objects I am getting belongs to e.g 'MyClass'. I …

java jsp jstl iteration
Time complexity of Euclid's Algorithm

I am having difficulty deciding what the time complexity of Euclid's greatest common denominator algorithm is. This algorithm in pseudo-code …

algorithm big-o time-complexity iteration
Iteration in LaTeX

I would like to use some iteration control flow to simplify the following LaTeX code. \begin{sidewaystable} \caption{A glance …

latex for-loop iteration
Intersecting two dictionaries in Python

I am working on a search program over an inverted index. The index itself is a dictionary whose keys are …

python dictionary iteration intersection
Can every recursion be converted into iteration?

A reddit thread brought up an apparently interesting question: Tail recursive functions can trivially be converted into iterative functions. Other …

language-agnostic recursion iteration
How to reverse tuples in Python?

Possible Duplicate: Traverse a list in reverse order in Python Is this possible? Doesn't have to be in place, just …

python loops iteration tuples