Amazon Interview Experience | Set 354 (For SDE-2) Read Courses Practice Improve Improve Improve Like Article Like Save Article Save Report issue Report I went for face to face interview and faced following questions. Check if parenthesis are balanced or Not. 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 Examples: Input : A = [1, 2, 3, 4, 7, 9] B = [0, 1, 2, 1, 1, 4] Output : [4, 5, 5, 6, 6, 6] All Practice Problems for Amazon ! Related Practice ProblemsCount the elements Last Updated : 10 Jul, 2019 Like Article Save Article Previous Amazon Interview Experience | Set 189 (For SDE-1) Next Program to sort an array of strings using Selection Sort Share your thoughts in the comments Add Your Comment Please Login to comment...