Dynamic Programming on Arrays/Lists. Asked to write a program to find set of array segments(i to j index) whose sum is 0 in an Array without changing the order of elements in the array. Solve in O(n).
Engenheiro De Software Java Interview Questions
3,079 engenheiro de software java interview questions shared by candidates
please tell us about yourself
Good interview Lots of questions related to java, spring, dbms, etc
Thread safe singleton Convert camel case string to snake case
two sum,three sum,closest sum,merge two sorted linkedlists, and in second round check cyclic dependency in a 2d array its a graph question
1. diff between NoSQL and SQL. 2. what score do you give yourself Java, SQL skills from 1 to 10.
How to initiate a ssh connection with public and private key pair
- Diff between StringBuffer and Builder - Answered - Immutability means? - Answered - gave me a code to check string in. paragraph - i did solve but in long way - there was a one liner. -Does HashMap have null key and what is the index - I answered but fumbled with the second part of question - i knew it was 0 - Default size of Hashmap - did not know at the time -one more code with arrraylist - i explained my logic did not write code as i thought thats what they are looking for the approach arraylist with random numbers - return a list which will have smalled number in zeroth index and max number in last index and the rest of the number sequence remains unchanged - used pointer approach and explained and it works - i came home and solved it as well. - Springboot: Bean scope - singleton - how to change - using @Scope annotation - which annotation to use when you want to make yur id o be unique in entity - @Id @GeneratedValue(Indentity) - this is what i answered - but he was not convinced. - http calls get, put, post, delete, patch diff between put and patch - what does 201 status code mean - i said success with but could not answer this - i checked success with creation of new resource 400 error - error from client what specific - he expected me to say bad request maybe i said the above line - 401 - unauthorized 404 - not found -difference between delete and truncate - answered with examples - and rollback difference possible in delete but not truncate.
Internal working of hash map Types of database indexing How will you make a class immutable Kafka partitioning logic Which strategy is best for avoiding Kafka partition rebalancing? (Could not answer) How to make Kafka consumer multithreaded? Coding questions Filter stream program for odd numbers Find first distinct character in a string in 0(n) Sum of digits of a number Miscellaneous Challenges faced in current project Why you change job every year?
What is a Predicate?
Viewing 1911 - 1920 interview questions