I'm going to use that logic and actually draw out the two different pieces of my plan. In doing that, I know the only way to move this big block is to first move the three blocks on top of it here to a spare stack, and then move the big final block to the target destination. What I mean by this is if I look at the Tower Of Hanoi problem and I see the three stacks, I know my goal is to move the entire tower from stack zero to stack two. When I think of the Tower Of Hanoi problem, I don't think about a series of moves made, but I think of a master plan on what I want to do, and then I divide that master plan into several sub plans that helps me achieve the goal I'm looking for.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |