The first question was about a given number of items, and 2 types of packages, first one could carry 5 items and the second only 1 and the question was: What is the minimal number of packages required to carry all the items with given number of packages? So you actually had 3 parameters, the number of items, the number of large packages and small packages and you should have returned the minimal packages that could carry the items. If the packages were not enough to carry the items the function should return -1. There was a static function ready to populate.
Software Engineer Java Interview Questions
4,185 software engineer java interview questions shared by candidates
Second round technical interview had one string manipulation question that had to do with ordering a first string such as "banana" according to the character ordering of the second string like "bna" to output "bnnaaa."
Why array elements are instant access when you know their index?
network/SQL concept
online HR assessment test of IQ, Emotional Capability, essay writing
In the Java specification, it is considered good practice to override .equals() and .hashCode() both together. In the context of HashMap, explain why implementing only one of the two instead of both can cause problems. You must consider both cases.
1. Group people by name, age in using stream api, eg: [{ram, 29}, {kim.29}, {sandy,30}, {mark,34},{lisa,34},{steve,25} ] 2. using java write a program to make the 0 in left side and 1 in right side, an array of mixed value of 0s, 1s
Q: What is Interface and Abstract Class in Java?
draw a network topology scheme for fault tolerance for 5,10,20 DB so that each db get synced with other db
Technical Assignment - What would yo do if you need to allow more players to play the game
Viewing 101 - 110 interview questions