convert binary search tree into doubly link list in constant space and link list should be sorted
Sr Software Engineer Interview Questions
67,420 sr software engineer interview questions shared by candidates
Removing duplicate integers from an array without using extra buffer.
What's the difference between Breadth-first algorithm and depth-first algorithm ?
* Takes a list of strings representing either operators or operands and returns * the result of a reverse-polish notation calculation on them * Sample output: * {"4", "1", "+", "2", "*"} -> ((4 + 1) * 2) -> 10 * {"5", "8", "4", "/", "+"} -> (5 + (8 / 4)) -> 7 * Supported operators are +, -, *, and / * @param ops the series of operators and operands to operate on * @return a Double equal to the result of the calculation * @throws IllegalArgumentException if ops does not represent a well-formed RPN expression * @throws ArithmeticException if the expression generates an arithmetic error, such as dividing by zero */
Find the largest rectangle area on a bar graph. Example, if you had a graph of 1,4,5,3,3,5 the answer would be 15 (3x5) which is formed by the rectangle that is 3 high and spans from position 2 (1 based) to 6.
logging, monitoring, alerting
Questions were basic from Core java,jsp,servlets,mysql,spring,hibernate,pl/sql
implementation of linked list, insertion deletion removal
console.log(1) setTimeout(() => { console.log(2) }, 0) console.log(3) What is the result? Explain it
A simple UML design , but unexperienced interviewers had only own solution in their mind.
Viewing 2411 - 2420 interview questions