Full Stack Engineer Interview Questions

18,238 full stack 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?
avatar

Java Full Stack Developer

Interviewed at Carelon Global Solutions

3.8
Jul 4, 2019

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?

Design a function for the game "Go". We should be able to tell if the game is won by either of the players? A game is done, if a player's coins are surrounded by opponents coins in all four directions (up, right, down and left). It need not be just one coin that could be surrounded, there could be 2 or more.
avatar

Full Stack Engineer

Interviewed at Uber

3.7
Apr 6, 2019

Design a function for the game "Go". We should be able to tell if the game is won by either of the players? A game is done, if a player's coins are surrounded by opponents coins in all four directions (up, right, down and left). It need not be just one coin that could be surrounded, there could be 2 or more.

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
avatar

Software Engineer/Full Stack Engineer

Interviewed at Justworks

3.1
Jun 23, 2016

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

Viewing 71 - 80 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 18,238 interview questions and reports from Full stack engineer interviews. Prepare for your interview. Get hired. Love your job.