(更新)是 Leetcode 的 test case 不完整,已發 contribution 了。
想詢問演算法問題,剛才看了一下板規好像沒寫不能問 @@?
如果看錯或有任何問題請告知,我會自刪,謝謝。
※ [本文轉錄自 Prob_Solve 看板 #1TxBAUvc ]
作者: wheels () 看板: Prob_Solve
標題: [問題] Leetcode 294 Flip Game II
時間: Sun Dec 8 16:21:48 2019
因為是鎖起來的題目所以直接貼:
You are playing the following Flip Game with your friend:
Given a string that contains only these two characters: + and -,
you and your friend take turns to flip two consecutive "++" into "