Skip to content

Commit f1698ea

Browse files
authored
Update 948. Bag of Tokens.py
1 parent 128eec2 commit f1698ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

leetcode3/김민제/948. Bag of Tokens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
class Solution:
55
def bagOfTokensScore(self, tokens: List[int], power: int) -> int:
6-
tokens.sort() #Olog(n)
6+
tokens.sort() #nlog(n)
77
left = 0 #가장 작은 토큰
88
right = len(tokens)-1 #가장 큰 토큰
99
score = 0

0 commit comments

Comments
 (0)