aboutsummaryrefslogtreecommitdiff
path: root/leetcode/lc-349-intersection-of-2-arrays.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'leetcode/lc-349-intersection-of-2-arrays.rkt')
-rw-r--r--leetcode/lc-349-intersection-of-2-arrays.rkt5
1 files changed, 5 insertions, 0 deletions
diff --git a/leetcode/lc-349-intersection-of-2-arrays.rkt b/leetcode/lc-349-intersection-of-2-arrays.rkt
new file mode 100644
index 0000000..14d56ca
--- /dev/null
+++ b/leetcode/lc-349-intersection-of-2-arrays.rkt
@@ -0,0 +1,5 @@
+#lang racket
+
+(define/contract (intersection nums1 nums2)
+ (-> (listof exact-integer?) (listof exact-integer?) (listof exact-integer?))
+ (set-intersect nums1 nums2)) \ No newline at end of file