All possible combinations in array - recursion?

前端 未结 2 836
礼貌的吻别
礼貌的吻别 2020-12-11 10:44

I have a question that goes over my head, hope someone can help. I think it may have to be solved by recursion and/or permutations, but I am not good enough of a (PHP) progr

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-11 11:15

    A recursive solution.

    If you want to store all solutions for [0,23] you're gonna have a bad time.

提交回复
热议问题