Computer Science
In computer science the problem is stated as an in shuffle of sequences A {a .. an} and B {b1 .. bn} such that the resulting in shuffled sequence
-
- In-Shuffle(A,B) → { bi, ai } | i: 1→n
A linear time O(n) algorithm that performs this in constant space O(1) complexity is presented.
Read more about this topic: In Shuffle
Famous quotes containing the words computer and/or science:
“The computer takes up where psychoanalysis left off. It takes the ideas of a decentered self and makes it more concrete by modeling mind as a multiprocessing machine.”
—Sherry Turkle (b. 1948)
“Science is the language of the temporal world; love is that of the spiritual world. Man, indeed, describes more than he explains; while the angelic spirit sees and understands. Science saddens man; love enraptures the angel; science is still seeking, love has found. Man judges of nature in relation to itself; the angelic spirit judges of it in relation to heaven. In short to the spirits everything speaks.”
—Honoré De Balzac (17991850)