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