名企笔试:Amazon笔试题(Count the elements)

题意: Given two unsorted arrays A, B. They can contain duplicates. For each element in A , count elements less than or equal to it in array B . 给你两个数组A和B,他们可能包含重复的元素,对于每个在A中元素a,计算在数组B中有多少个数小于或者等于a。 输入描述
相关文章
相关标签/搜索