IT (117) 썸네일형 리스트형 [Leetcode] 2325. Decode the Message https://leetcode.com/problems/decode-the-message LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution: def decodeMessage(self, key: str, message: str) -> str: key = key.replace(' ', '') table = {} index = 0 for n .. [Leetcode] 1630. Arithmetic Subarrays https://leetcode.com/problems/arithmetic-subarrays LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution: def checkArithmeticSubarrays(self, nums: List[int], l: List[int], r: List[int]) -> List[bool]: result = [] f.. [Leetcode] 1656. Design an Ordered Stream https://leetcode.com/problems/design-an-ordered-stream/description/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class OrderedStream: def __init__(self, n: int): self.list = [None for i in range(n + 1)] self.key = 1 self.. [Leetcode] 535. Encode and Decode TinyURL https://leetcode.com/problems/encode-and-decode-tinyurl LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com import re import base64 class Codec: def encode(self, longUrl: str) -> str: delimeter = '://' splited = re.split(delime.. [Leetcode] 1365. How Many Numbers Are Smaller Than the Current Number https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution: def smallerNumbersThanCurrent(self, nums: List[int]) -> List[int]: result = .. [Leetcode] 2610. Convert an Array Into a 2D Array With Conditions https://leetcode.com/problems/convert-an-array-into-a-2d-array-with-conditions LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution: def findMatrix(self, nums: List[int]) -> List[List[int]]: result = [] nums_dic =.. [Leetcode] 1282. Group the People Given the Group Size They Belong To https://leetcode.com/problems/group-the-people-given-the-group-size-they-belong-to/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution: def groupThePeople(self, groupSizes: List[int]) -> List[List[int]]: result .. [Leetcode] 771. Jewels and Stones https://leetcode.com/problems/jewels-and-stones/submissions/1168400707/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution: def numJewelsInStones(self, jewels: str, stones: str) -> int: count = 0 for j in jewels.. 이전 1 ··· 5 6 7 8 9 10 11 ··· 15 다음