[LeetCode] 1528. Shuffle String
Python class Solution: def restoreString(self, s: str, indices: List[int]) -> str: answer = list(s) index = 0 for i in indices...
Python class Solution: def restoreString(self, s: str, indices: List[int]) -> str: answer = list(s) index = 0 for i in indices...
Python class Solution: def singleNumber(self, nums: List[int]) -> int: counter = collections.Counter(nums) for i, v in counter.items()...
Python class Solution: def twoSum(self, numbers: List[int], target: int) -> List[int]: left = 0 right = len(numbers) - 1 while...
Python class Solution: def reverseWords(self, s: str) -> str: temp = s.split() for i in range(len(temp)): temp[i] = temp[i...
Python def solution(arr1, arr2): answer = [] for i in range(len(arr1)): list = [] for j in range(len(arr2[0])): temp = 0 ...