by vultour · 8y ago · 0 comments
It's so simple to figure out if you're on your own and just play around with the idea. When asked on the spot I just kept thinking "hey these people want an answer NOW, don't make them wait" while feeling their stare, and couldn't figure it out without help.
t0:{[3,5],[0,0]},
t1:{[3,5],[0,5]},
t2:{[3,5],[3,2]},
t3:{[3,5],[0,2]},
t4:{[3,5],[2,0]},
t5:{[3,5],[2,5]},
t6:{[3,5],[3,4]},
}
Thinking about making this an algorithm, are we forced to use recursion?