Find the units of snow can be trapped in the given array of building of various heights. It is like 'Trapping Rain Water' problem in Leetcode
Java Lead Interview Questions
595 java lead interview questions shared by candidates
What is new in Java 9?
finally face to face. this is 6 hour long and they will decide very quick the result. First is a Java test. expect to write long java programs with pen and paper. should write code accurately no psudo code java code. some of the questions were insert node in tree, find the bug in single linked list which is looping. Heavy multi threading concurrency questions. thread contention, java 5+ concurrency API lots of multi threading in depth questions. somof the questions ae when java does context switching explain what happens in CPU level1,level2,level3 cache. how do you optmize hit miss on cpu cache with java threading. questions about DB partition sharding, network topology in cassandra, clearly Big 0 questions. java concurrency concurrency collections framework questions I was asked to write on white board function in java to recursively delete files and then in a directory tree. Java code with semi colons command and perfect syntax was expected. boundary conditions need to be handled. unit tests were asked to be written.
interviewer started with oops principle Object comparison diff. bte string and stringbuffer http request lifecycle 2 puzzles - did not strike me at time -2 same candles - 1 burns in 1 hr.how will you measure 1 1/2 hr -how will you tell weather a number can be represented in 2 raise to n like 4 can be writeen as 2square.
Design the Vending machine using Microservices.
Improve your communication and decision making skills in order to face the Interviews with full confidence. This section covers HR interview questions and answers
regarding a project that i am handling in my previous company.
Write a program for simple ETL(Extraction, Transformation and Loading) Implementation, the output does not matter, your coding approach matter. The scenario is, read file(s) for one directory, perform some transformation on the data and write it to another directory. They emphasize on what you do if the source and destination is changed to something else like SQL DB and you can add more transformations to the program. They want all the component to be independent and some insane design implementation on injecting transformation side.
Java coding technical qns and design patterns
You are given a matrix having 0s & 1s where each row & column is sorted also. So need to find the maximum matrix of 1s. e.g. Below is the given matrix, note each row & column is sorted. {0,0,0,0,1} {0,0,0,1,1} {0,1,1,1,1} {0,1,1,1,1} {1,1,1,1,1} so max matrix having 1s can be- 1,1,1,1 1,1,1,1 1,1,1,1
Viewing 11 - 20 interview questions