Function get subtowertower

get subtowertower

Format:

get subtowertower

Input:

list tower -
number max_size -

Output:

list - None

Properties that reference this function:

get subtowertower = get subtower maptower (Get Subtower)

Conditional properties that reference this function:

  • if the following are true:
    • the element at index src of stack towers = src_tower
    • get subtowersrc_tower = sub_tower
    • length of sub_tower is even

    then towers of hanoi towers = towers of hanoi top disks towers

    (link)
  • if the following are true:
    • the element at index src of stack towers = src_tower
    • get subtowersrc_tower = sub_tower
    • length of sub_tower is odd

    then towers of hanoi towers = towers of hanoi top disks towers

    (link)


Comments

Please log in to add comments