How to create deadlock in your code.
Full Stack Software Engineer Interview Questions
15,748 full stack software engineer interview questions shared by candidates
class A{ p s v test(){sout("A");} } class B extends A{ p s v test(){sout("B");} } class C{ main(){ A a2 = new B(); } } what is the o/p? what this example refers to? what happens when you try to override a static method from parent class?
Transform this data set (nested objects and Arrays) to another format (a different set of nested objects and arrays).
Algorithm Question: Is the number range "saturated". I put the word saturated in quotes, because their definition is somewhat ambiguous, after prodding the interviewers, the number range can be fully saturated, over-saturated in certain ranges or under-saturated. Input is a list of arraylist of 2 integers (each pair represents a range) Input 1: [2,5 | 0,2 | 10,15 | 6,9] Output: Saturated (logically this is over saturated because number 2 occurs twice but not according to the interviewers, creating additional edge cases for your algorithm) Output for the above is, yes the range is "perfectly" saturated because it accounts for all numbers from 0-15. Trick: interviewers consider even though the number 2, which occurs twice to be ok and not over saturated. Input 2: [3,10 | 0,5 | 50,100] Output: "not saturated" ("over saturated", the overlap is more than one number) Note for above range, it is both over saturated and under saturated, but interviewers don't mention/care about this Input 3: [5,9 | 0,3] Output: not saturated
1. given a binary tree, return the number of nodes that got value higher or equal to every node in the path from root to that node. 2. given array of integers, return the first and second lowest numbers. you got 2:20 hours to solve it.
recreating "lodash"-like functions: Implementing some(arr, func) to return TRUE if some elements in the array satisfy the function. Creating a neg(func)(value) function that takes a function and returns a negated version. Using both some() and neg() to implement every(arr, func).
Have you done pair programming before?
What if you are not appreciated in the group discussion for any point
Phone: bind, this, build 2 buttons (html + css); check if parentheses are valid
How do you maintain the session?
Viewing 61 - 70 interview questions