Open zhenyu0519 opened 4 years ago
Correct me if I am wrong. In "2222: [2,2,2,2],[22,2,2],[2,22,2],[2,2,22],[2,2,22],[22,22]", 4th & 5th cobnination are same. THis should yield 5 combinations, isn't it?
@firdosh-nasim yes, you are right! Thank you
It is a best solution found that very popular and helpful: https://www.youtube.com/watch?v=Z2NTdsOjvAQ&ab_channel=EricProgramming
https://zhenyu0519.github.io/2020/02/20/lc91/
Leetcode 91. Decode Ways (Python)