2215. Find the Difference of Two Arrays
Find the Difference of Two Arrays - LeetCode 주어진 두 개의 정수 배열 nums1 및 nums2에 대해 다음을 반환합니다: - answer[0]: nums1에만 있고 nums2에 없는 모든 고유한 정수 목록. - answer[1]: nums2에만 있고 nums1에 없는 모든 고유한 정수 목록. Given two 0-indexed integer arrays nums1 and nums2, return a list answer of size 2 where: answer[0] is a list of all distinct integers in nums1 which are not present in nums2. answer[1] is a list of all distinct i..
LeetCode
2023. 10. 29. 00:34