Kolbster2005 Kolbster2005
  • 26-01-2021
  • Computers and Technology
contestada

U6L1 - Algorithms Solve Problems
I'm just really stuck on this and have no clue what to do.

Respuesta :

tonb
tonb tonb
  • 26-01-2021

Answer:

1. Left hand picks up card on position 1

2. Assume position 2 as the "working position"

3. Free hand picks up card on working position.

4. Compare two cards, put back the largest card on working position.

5. Increase working position by 1.

6. Go to step 3 if there is a card at the new working position.

7. Smallest card is in your hand.

Answer Link

Otras preguntas

What does x < 3 mean and what is the answer to it?
which should not be part of scientific inquiry?1. bias2.analysis3.hypothesis4.testing
Do 2 planes intersect at a point all the time?
You travel 60 kilometers in 1.5 hours. What is your average speed?
what is 7000 is 1/10 of
Find the pattern:  3*4 = 6 4*7 = 8 8*4 = 8 1*3 = 2  Now complete:  5*5 =    6*2 =
what is -(square root) of 58
What does x < 3 mean and what is the answer to it?
What was McDuffie's economic argument for slavery
Consider the circle of radius 5 centered at (0,0). Find an equation of the line tangent to the circle at point (3,4). The book gives me the answer: y=-3/4(x-3)