Leetcode Daily Question
@leetcodeDailyQuestionChannel
2.46K
subscribers
517
files
2.16K
links
Why are you asking me to do Leetcode for this CSS job?
Download Telegram
Join
Leetcode Daily Question
2.46K subscribers
Leetcode Daily Question
leetcode.cn
2024-02-03
🟡
1690.stone-
game
-vii
🏷️
Tags
#array
#math
#dynamic_programming
#game_theory
Telegraph
stone-
game
-vii
石子游戏中,爱丽丝和鲍勃轮流进行自己的回合,爱丽丝先开始 。 有 n 块石子排成一排。每个玩家的回合中,可以从行中 移除 最左边的石头或最右边的石头,并获得与该行中剩余石头值之 和 相等的得分。当没有石头可移除时,得分较高者获胜。 鲍勃发现他总是输掉游戏(可怜的鲍勃,他总是输),所以他决定尽力 减小得分的差值 。爱丽丝的目标是最大限度地 扩大得分的差值 。 给你一个整数数组 stones ,其中 stones[i] 表示 从左边开始 的第 i 个石头的值,如果爱丽丝和鲍勃都 发挥出最佳水平 ,请返回他们…
来源
答案
Leetcode Daily Question
leetcode.cn
2024-02-04
🟢
292.nim-
game
🏷️
Tags
#brainteaser
#math
#game_theory
Telegraph
nim-
game
你和你的朋友,两个人一起玩 Nim 游戏:
来源
答案
Leetcode Daily Question
leetcode.cn
2025-09-12
🟡
3227.vowels-
game
-in-a-string
🏷️
Tags
#brainteaser
#math
#string
#game_theory
Telegraph
vowels-
game
-in-a-string
小红和小明在玩一个字符串元音游戏。 给你一个字符串 s,小红和小明将轮流参与游戏,小红 先 开始:
来源
答案
Leetcode Daily Question
leetcode.com
2025-09-12
🟡
3227.vowels-
game
-in-a-string
🏷️
Tags
#brainteaser
#math
#string
#game_theory
Telegraph
vowels-
game
-in-a-string
Alice and Bob are playing a
game
on a string. You are given a string s, Alice and Bob will take turns playing the following
game
where Alice starts first:
Source
Solution