Given a linked list and a value k, give the kth element from the last
Engineers Interview Questions
841,850 engineers interview questions shared by candidates
Two trains traveling in the opposite direction with x and y miles per hour , they are 100 miles apart.Where would they meet ? formula?
Consider the following function: int f (int num) { int out = 0; for (; num > 0; num /= 10) { int d = num % 10; out *= 10; out += d; } return out; } 1) What does it do? 2) Write the same algorithm using recursion
How would you sort the list of version numbers. For eg: You are given a list A as ["1.1","1.1.5","12.0","1.23","12.3"]. Now sort this ?
what will happen to the room temperature if a refrigerator is kept open, say for half an hour?
You have 9 marbles which are all the same weight, except for one which is slightly heavier than the others. You also have an old?style balance, which allows you to weigh two piles of marbles to see which one is heavier (or if they are of equal weight). What is the fewest number of weighings that you can make which will tell you which marble is the heavier one ?
Given an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words. You need to output the minimum number of words. For example, input: "aaaisaname" dict: ("a", "aaa", "is", "name") output: "aaa is a name" Wrong output: "a a a is a name"
A box is divided into 4 boxes which is further subdivided into 4 boxes and so on. What is the best Data structure suitable for this scenario?
When was the last time you were on Catia?
80% was behavioral and the 3 coding questions were not difficult (tachometer, pair of integers adding to a sum and another string problem to remove numbers from a mix of numbers and characters). Ability to tell your stories is really important. Interviewers keep taking notes while you answer.
Viewing 781 - 790 interview questions