How can I loop over a list to '+-X/' previous numbers and store the result

后端 未结 0 1434
无人及你
无人及你 2021-02-06 22:54

I\'m trying to create an algorithm to solve the 24 game but with any N numbers, instead of just 4. I am currently trying to implement a tree-like structure using a list. Imagine

相关标签:
回答
  • 消灭零回复
提交回复
热议问题