how different processes communicate with each other the advantages and disadvantages regarding multithreading vs multiprocessing given an input of integers that represent stock prices, how to get the best buying and selling price (notice you can only sell after you have bought the stock)
Software Engineer 2 Interview Questions
666,190 software engineer 2 interview questions shared by candidates
You're given a binary tree--not necessarily complete or proper--and you need to give each node a "friend" pointer that points to the node to its right in the tree. This node is on the same level but is not necessarily a sibling, which makes the problem a little tricky. The friend pointer of the node farthest to the right on each level should be null.
Dynamic programming question. Given a list of non-overlapping (but intersecting) intervals {[0-2], [2-5], [6-10]} find the largest non-intersecting set with mamimum range. I.e in above | {[2-5], [6-10]} | > | {[0-2], [6-10]} |
Design an ID allocator which can allocate and de-allocate from a range of 1-1,000,000
you are building a website and how would you count the number of visitors for the past 5 min. Follow ups included exploring potential concurrency issues and how would you fix it.
Write a function that: given a 1 row 2^n column matrix containing integers 1 to 2^n, divide the matrix in two, and place the right half of the matrix below the left half. Repeat this process until the matrix is 2^n rows and 1 column and return the result.
some questions about hashCode, equals method regex question java concurrency: wait, notify, notifyAll() swing component rendering routine(without using UI-delegate)
They asked specific questions regarding my skills directly related to the job posting. They understood the position and
Lots of questions. First question was how to find the heaviest ball out of 9 ball problem.
Design an algorithm to search an element in a singly linked list in O(1) complexity without using any other data-structure.
Viewing 1981 - 1990 interview questions