wright a program
Engineers Interview Questions
841,870 engineers interview questions shared by candidates
# a list of strings. Each string is a management / report relationship. # # EXAMPLE INPUT: # # [ # 'B,E,F', # 'A,B,C,D', # 'D,G,I', # 'G,H' # ] So, write some code (pseudo or language of your choice, including SQL) for the following: A is the manager of B, C, D. B is the manager of E and F, and so forth. # EXAMPLE OUTPUT: # # A # ....B # ........E # ........F # ....C # ....D # ........G # ............H # ........I
Implement atoi and itoa
I remember a puzzle. There is cube of size 3x3x3 unit. All of its 6 faces are painted. you cut that cube into 27 cubes of 1x1x1 size of cubes. How many cubes will have no face painted.
You are given a stream of directions in [up, down, left, right]. Each direction means move one unit in that direction. After completing the movements, you will return to the position where you started. Compute the area of the shape you created. I was asked this when FactSet interviewed me a very long time ago. I liked the question so I sometimes use it myself when I interview other applicants..
The brain teaser: what is the last digit of 2007 power 2007
Given a scale and an object that can way between 1 to 40 grams. What is the minimum number of counter weights that you can buy to weigh anything in the range of 1 to 40.
Given 100 white marbles and 100 black marbles and two jaws. Put these marbles in the two jars in a way that would maximize the chance of retrieving a white marble from any given jaw.
In the next telephonic interview with HR, I got uncanny questions like why do you need H1B when you can work 36 months without H1B (I'm on F1 OPT).
Prove that the number between prime pair is always divisible by 6
Viewing 1171 - 1180 interview questions