Search posts, tags, users, and pages
Tapan Rachchh
Approch 1 : Using Array class Solution: def beautifulSubsets(self, nums: List[int], k: int) -> int: ans = 0 def checkBeauty(arr, num): for e in arr: if abs(e - num) == k: return Fal...
Markdown supported · ⌘↵ to post
No responses yet.