Nearbuy Interview Experience | Set 4 (2 Years Experienced)
Round 1: It was a HackerRank coding round with 3 questions (DP, string manipulation) (1 hr)
Don’t remember exact questions.
Round 2: It was a F2F Technical round(1 hr)
- Your projects in previous company. Technologies you have used
- Java, OOPs questions on inheritance, abstraction, interface, collections
- Given two string check whether second string is rotated version of first string (Optimal solution required)
- You are given a list consisting dates and a Map consisting week days as keys and true /false as value. Like:
date list={22nd Jan, 23rd Jan, 27Jan, 29Jan ….}
Map= {Sunday:True, Monday:True, Tuesday:False…}
Need to find all range of dates which are true.You can use Java libraries .O(n) solution with 1 traversal required
Round 3: It was a F2F Technical round(1.5 hr)
- Your projects in previous company. Technologies you have used
- List down all the Java api’s you have used so far. Questions on Java API
- Explain working of Hashmap
- Write production ready code to remove all duplicates from arraylist(Optimal solution required).
- Diff b/w Iterator remove and ArrayList remove
- Hibernate Question : how to apply manytoOne, OnetoMany joins, Criteria API, Caching
- Design Patterns: Singleton and others
- Write basic Sql queries
- There is stream of data coming at every hr consisting n Products and their sold count. We need to find the product that has been sold maximum in last x hrs. Design Database for given problem