···11+class Solution:
22+ def isPossibleDivide(self, nums: List[int], k: int) -> bool:
33+ # In case of non multiple
44+ if len(nums) % k != 0:
55+ return False
66+77+ sorted_nums = sorted(nums)
88+ for _ in range(len(nums) // k):
99+ first_num = sorted_nums[0]
1010+ for i in range(k):
1111+ target_num = first_num + i
1212+ if target_num in sorted_nums:
1313+ sorted_nums.pop(sorted_nums.index(target_num))
1414+ else:
1515+ return False
1616+ return True
···11+# Note for Weekly Contest 168
22+33+I tried to solve from #1591 to #1593 but can pass #5291 for all testcase. #1592 hit TLE but I didn't come up with the way to reduce time complexities. For #1593, I didn't make sense for the required solution.