Intersection of Two Arrays II

时间:2016-06-14 08:50:26   收藏:0   阅读:213

Given two arrays, write a function to compute their intersection.

Example:
Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, 2].

Note:

原文:http://www.cnblogs.com/FLAGyuri/p/5582719.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!