Parse a string containing numbers and "+", "-" and parentheses. Evaluate the expression. -2+(3-5) should return -4.
Software Engineer Interview Questions
467,307 software engineer interview questions shared by candidates
The questions are easy and common, but I was very disappointed with the second phone interviewer. The first interviewer was very nice and supportive. The first question was to return the value of a roman number given in a string. The question for the second phone interview was to print out the paths to all leaves of a binary tree.
how to find a string has duplicate elements or not
Something about an alien dictionary that I had to find the correct sorting of the letters.
Write a C program to encode bits in a 32-bit number such that, most significant 16 bits should be reversed but lower 16 bits should be untouched. Then asked to generalize this to any number of bits.
How will you prevent the code in finally block from executing? The question isn't a very fair one as a good programmer would not write the code in finally block that he/she doesn't want to execute
How do you check if two numbers are equal without using comparators?
How would you design a database that allows these two tables to be stored and be infinitely expandable, while maintaining speed of execution?
//A program to find the sum of contiguous subarray within a one-dimensional array of numbers which has the largest sum. //{-2, 3, 3, -1, -2, 1, 5, -3} //{2, 3, 4, 1, 2, 1, 5, 3}
solve leetcode easy? solve leetcode hard?
Viewing 2191 - 2200 interview questions