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]
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.


