package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev

# README

486. Predict the Winner

Solution idea

DFS

思路总结

  1. 877. Stone Game 完全一样的解法。唯一区别是平局时也判定为先手赢。
  2. 关键词: DFS, Prefix Sum, Memoization