ATS resume help
رفتن به کانال در Telegram
WhatsApp Me https://wa.me/917674087200 ✅ ATS-Friendly Resumes ✅ Higher Interview Calls ✅ Free Tips + Templates
نمایش بیشتر3 699
مشترکین
-224 ساعت
-227 روز
-7630 روز
آرشیو پست ها
3 699
Those who have IBM and any placement exams help contact us.
Contact-- @placementsBro✔️
100 percent pass ❤️
Telegram-- @CodingPalace 🏖️
3 699
class Solution:
def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]:
dict1 = dict()
for i in nums1:
if i not in dict1:
dict1[i] = 1
else:
dict1[i] += 1
ret = []
for i in nums2:
if i in dict1 and dict1[i]>0:
ret.append(i)
dict1[i] -= 1
return ret
Python3
