青蛙过河python版
前几天发了一个青蛙过河https://www.xushine.net/?p=1110
D大的感叹历历在目啊
现在放个python的版本出来~
trace_stack = []
def recursive(frog_list, final_list):
global trace_stack
if frog_list == final_list:
trace_stack.append(frog_list)
retur[……]