zhenyu0519 / zhenyu0519.github.io

My Blog
https://zhenyu0519.github.io/
MIT License
3 stars 0 forks source link

leetcode 91. Decode Ways (Python) — 杰弗里 · 时光博客(Jeffrey's Blog) #87

Open zhenyu0519 opened 4 years ago

zhenyu0519 commented 4 years ago

https://zhenyu0519.github.io/2020/02/20/lc91/

Leetcode 91. Decode Ways (Python)

firdosh-nasim commented 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?

zhenyu0519 commented 4 years ago

@firdosh-nasim yes, you are right! Thank you

QureshiAbraham commented 2 years ago

It is a best solution found that very popular and helpful: https://www.youtube.com/watch?v=Z2NTdsOjvAQ&ab_channel=EricProgramming