Questions ## Technical Round # Java 8 - Features of Java 8 - Features of Java 11 over Java 8 - Custom Array List Implementation # Spring Boot [spring-cloud] - Features of spring boot - scaling of threads optimization on server side # Spring-Security - peer side for OAuth token - Types of security applied in application - Communication with vendors [Specific to Authentication] - New framework for security [starts with B..] it is for replacing OAuth # Patterns - which all design patterns used ***************************** EXPLORE ***************************** - Scaling of spring cloud application - How to ensure the memory consumption of threads & scale it on cloud ## Techno Managerial Interview # Technical - Advantages of Spring-boot over spring - Difference between Hibernate & Spring data Jpa # Managerial - Why are you looking for change ***************************** EXPLORE ***************************** 1. If we have numbers from 0 - 1 meaning fraction to two digits and we need to map to numbers between 40 - 65. How will you ensure that each time same number is sent, result must be same 0 - 1 = 100 numbers 40 - 65 = 25 numbers 100 / 25 = 4 partitions formula = (fraction* 100 [Total Numbers] / 4 [partitions]) / + 40 [base value] 2. If we have 8 balls & 1 ball is heavier than rest 7, how will you find using weight balancer - Divide & conquor technique - Using 3 iterations - If you don't know whether the odd ball is lighter than the others or heavier than the others, identifying the odd ball is not possible with a maximum of two weighings. But if you do know that it is lighter or that it is heavier, it is possible. For now, let's consider the case where the odd ball is lighter than the others. (If it's heavier than the others, the solution applies the same logic.) Weighing 1: Place 3 balls on each side and keep the remaining 2 balls off to the side. If the scale balances, we know the odd ball is one of the 2 we left to the side. Weighing 2A: - Weigh the two remaining balls to determine the lighter ball. Done. But if the scale doesn't balance, the odd ball is on the lighter side. Remove the balls from the heavy side. Weighing 2B: - From the 3 balls put that were on the lighter side, put one ball on each side and keep the third ball off to the side. - If the scale balances, the odd ball is the one you left off to the side. Otherwise, the odd ball is the lighter ball on the scale.
Check out your Company Bowl for anonymous work chats.