Expedia Hackerrank test for SDE II
There were three question that were asked in the Hackerrank test.
Question 1: https://www.geeksforgeeks.org/check-for-balanced-parentheses-in-an-expression/
Question 2: Second question was based on some logic wherein we need to sort the HashMap by values.
Question 3: You need to create k group using n members. The number of members in ith group should be more than or equal to the members in (i-1)th group. For example 8 members and 4 groups. Then options are [1, 1, 1, 5] [1, 1, 2, 4] [1, 1, 3, 3] [1, 2, 2, 3] [2, 2, 2, 2]
Please Login to comment...