1、感谢:https://blog.csdn.net/JackZhang_123/article/details/78793365 2、感谢花花酱的无私贡献: https://www.youtube.com/watch?v=r6Wz4W1TbuI https://zxi.mytechroad.com/blog/dynamic-programming/leetcode-494-target-sum/