Coding: Create a stack with the usual push() & pop(), but with an additional function getMiddle() that returns the middle element of the stack in constant time.
Software Developer Engineer Interview Questions
467,011 software developer engineer interview questions shared by candidates
find a number in a sorted array and then find the number in an unsorted array ?They will unsort the array on their own .
Implement Integer.parseInt from scratch
Print a tree like reading a book, left to right.
- They say they are language agnostic but well... - Java shop! Know your Java and patterns in and out! - Basic basic data structure implementation - Mostly Java questions and Java design questions - No algorithms unlike other mainstream companies. - Little bit of database in the phone screen.
What is your shortcomings?
Interview 1: - Abstract classes over interfaces. Why we use interfaces over abstract classes. - Given a sentence with each letter as a node of the linkedlist. Reverse the order of the words (not the word itself). "My name is Batman" -> "Batman is name my" - Zigzag level traversal of a tree.
Parent Class method throws illegalMonitorStateExcpetion,Can the child class Overrided method throws RuntimeException?
Prove that limit theta tends to zero sin(theta) / (theta) tends to one?
Finding out the area of the intersection of two rectangles
Viewing 1591 - 1600 interview questions