wlxxiii_
Senior Member
- Joined
- Jan 31, 2007
- Messages
- 1,506
- Reaction score
- 33
https://leetcode.com/problems/find-the-shortest-superstring/discuss/195077/Clean-python-DP-with-explanations
Was reading this solution until I saw
dp = [[''] * 12 for _ in range(1 << 12)]
Why 12? Anyone knows?
Sent from Xiaomi POCO F2 PRO using GAGT
Was reading this solution until I saw
dp = [[''] * 12 for _ in range(1 << 12)]
Why 12? Anyone knows?
Sent from Xiaomi POCO F2 PRO using GAGT