General whiteboard exercise and code challenge
Software Enginner Interview Questions
420,318 software enginner interview questions shared by candidates
If you have eight objects that all weigh the same except for one (which is heavier) and a two-sided scale, what is the minimal number of times you can use the scale to determine the odd item out?
on a grid find the minimal meeting point for different people.
LCA of 'k' given nodes in an arbitrary tree having N nodes?
Write a program print the outsides nodes in a binary tree.
Given a 2D rectangular matrix of boolean values, write a function which returns whether or not the matrix is the same when rotated 180 degrees. Additionally verify that every boolean true is accessible from every other boolean true if a traversal can be made to an adjacent cell in the matrix, excluding diagonal cells. That is , (x , y ) can access the set [ ( x + 1 , y ) , ( x - 1 , y ) , (x , y - 1 ) , (x , y + 1 ) ] For example, the matrix { { true , false } , { false , true } } should not pass this test.
given list[list[String], where each list[String] represents a node in the following manner: node.id -> child0.id -> child1.id -> ... rebuild the tree.
Similar to this: Given an NxN grid of 0s, 1s, and 2s, find out whether 1s or 2s is surrounded starting at (i,j). Being surrounded means that 1s is surrounded by 2s or that 2s is surrounded by 1s.
Cannot disclose due to NDA but generally algorithmic questions and system design.
What happens when you type www.google.com in your browser?
Viewing 1611 - 1620 interview questions