find a number in a sorted array and then find the number in an unsorted array ?They will unsort the array on their own .
Software Engineer 2 Interview Questions
666,163 software engineer 2 interview questions shared by candidates
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.
Given an array where the otherwise sorted values are split into two ranges somewhere in the middle (e.g. [5,7,8,9,1,2,3]), come up with an algorithm that returns TRUE or FALSE if any given number X exists in that array.
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 1911 - 1920 interview questions